Skip to content

Commit

Permalink
Fixed bug where new games wouldn't properly receive item lists
Browse files Browse the repository at this point in the history
  • Loading branch information
Crazycolbster authored and Die4Ever committed May 28, 2024
1 parent 2a0309e commit 89eaf0b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/modules/archipelago.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,10 @@ class RCTRArchipelago extends ModuleBase {
archipelago_objectives = context.getParkStorage().get('RCTRando.ArchipelagoObjectives');
archipelago_settings = context.getParkStorage().get('RCTRando.ArchipelagoSettings');
}
full_item_id_to_name = context.getParkStorage().get("RCTRando.ArchipelagoItemIDToName");
full_location_id_to_name = context.getParkStorage().get("RCTRando.ArchipelagoLocationIDToName");
if (context.getParkStorage().get("RCTRando.ArchipelagoItemIDToName")){
full_item_id_to_name = context.getParkStorage().get("RCTRando.ArchipelagoItemIDToName");
full_location_id_to_name = context.getParkStorage().get("RCTRando.ArchipelagoLocationIDToName");
}
//Set up connection to client
if (!archipelago_connected_to_game)
init_archipelago_connection();
Expand Down

0 comments on commit 89eaf0b

Please sign in to comment.