diff options
Diffstat (limited to 'Archipelago/load.gd')
-rw-r--r-- | Archipelago/load.gd | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Archipelago/load.gd b/Archipelago/load.gd index 8cc9120..4c6c178 100644 --- a/Archipelago/load.gd +++ b/Archipelago/load.gd | |||
@@ -115,10 +115,12 @@ func _load(): | |||
115 | var panels_parent = self.get_node("Panels") | 115 | var panels_parent = self.get_node("Panels") |
116 | var location_script = ResourceLoader.load("user://maps/Archipelago/location.gd") | 116 | var location_script = ResourceLoader.load("user://maps/Archipelago/location.gd") |
117 | for location_id in gamedata.panel_ids_by_location_id.keys(): | 117 | for location_id in gamedata.panel_ids_by_location_id.keys(): |
118 | if !(gamedata.classification_by_location_id[location_id] & apclient._location_classification_bit): | ||
119 | continue | ||
120 | |||
118 | var location = location_script.new() | 121 | var location = location_script.new() |
119 | location.ap_id = location_id | 122 | location.ap_id = location_id |
120 | location.name = "AP_location_%d" % location.ap_id | 123 | location.name = "AP_location_%d" % location.ap_id |
121 | location.classification = gamedata.classification_by_location_id[location_id] | ||
122 | self.add_child(location) | 124 | self.add_child(location) |
123 | 125 | ||
124 | var panels = gamedata.panel_ids_by_location_id[location_id] | 126 | var panels = gamedata.panel_ids_by_location_id[location_id] |