Skip to content

Commit 05b4128

Browse files
remyjetteJouramie
authored andcommitted
WebHost: Don't count item links in the summary row completed worlds (ArchipelagoMW#2193)
1 parent f5efa02 commit 05b4128

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

WebHostLib/tracker.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from werkzeug.exceptions import abort
1010

1111
from MultiServer import Context, get_saving_second
12-
from NetUtils import SlotType, NetworkSlot
12+
from NetUtils import ClientStatus, SlotType, NetworkSlot
1313
from Utils import restricted_loads
1414
from worlds import lookup_any_item_id_to_name, lookup_any_location_id_to_name, network_data_package, games
1515
from worlds.alttp import Items
@@ -1548,7 +1548,7 @@ def _get_multiworld_tracker_data(tracker: UUID) -> typing.Optional[typing.Dict[s
15481548
for player, name in enumerate(names, 1):
15491549
player_names[team, player] = name
15501550
states[team, player] = multisave.get("client_game_state", {}).get((team, player), 0)
1551-
if states[team, player] == 30: # Goal Completed
1551+
if states[team, player] == ClientStatus.CLIENT_GOAL and player not in groups:
15521552
completed_worlds += 1
15531553
long_player_names = player_names.copy()
15541554
for (team, player), alias in multisave.get("name_aliases", {}).items():

0 commit comments

Comments
 (0)