diff options
Diffstat (limited to 'Archipelago/client.gd')
-rw-r--r-- | Archipelago/client.gd | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/Archipelago/client.gd b/Archipelago/client.gd index f33c80c..a66442e 100644 --- a/Archipelago/client.gd +++ b/Archipelago/client.gd | |||
@@ -35,7 +35,6 @@ const progressive_items = { | |||
35 | {"item": "Hallway Room (4) - Exit", "display": "Fourth Door"}, | 35 | {"item": "Hallway Room (4) - Exit", "display": "Fourth Door"}, |
36 | ] | 36 | ] |
37 | } | 37 | } |
38 | const filtered_games = ["Ocarina of Time", "Factorio", "Lufia II Ancient Cave"] | ||
39 | 38 | ||
40 | const kTHE_END = 0 | 39 | const kTHE_END = 0 |
41 | const kTHE_MASTER = 1 | 40 | const kTHE_MASTER = 1 |
@@ -180,17 +179,9 @@ func _on_data(): | |||
180 | 179 | ||
181 | var needed_games = [] | 180 | var needed_games = [] |
182 | for game in message["datapackage_checksums"].keys(): | 181 | for game in message["datapackage_checksums"].keys(): |
183 | # Due to a limitation with Godot 3.x, downloading a datapackage | ||
184 | # that is too large will silently fail and prevent us from | ||
185 | # finishing the connection process. So we will hardcode the | ||
186 | # names of games that are likely to cause connection problems, | ||
187 | # and not download those datapackages. Which is not ideal. | ||
188 | if ( | 182 | if ( |
189 | ( | 183 | !_datapackages.has(game) |
190 | !_datapackages.has(game) | 184 | or _datapackages[game]["checksum"] != message["datapackage_checksums"][game] |
191 | or _datapackages[game]["checksum"] != message["datapackage_checksums"][game] | ||
192 | ) | ||
193 | and not filtered_games.has(game) | ||
194 | ): | 185 | ): |
195 | needed_games.append(game) | 186 | needed_games.append(game) |
196 | 187 | ||