Skip to content

Commit 6598191

Browse files
authored
Fix desync in DO:SA module (#1496)
1 parent f028fbc commit 6598191

File tree

1 file changed

+3
-3
lines changed
  • map_gen/maps/danger_ores/compatibility/space-age

1 file changed

+3
-3
lines changed

map_gen/maps/danger_ores/compatibility/space-age/victory.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,18 @@ local ShareGlobals = require 'map_gen.maps.danger_ores.modules.shared_globals'
55
return function()
66
ShareGlobals.data.biters_disabled = false
77
ShareGlobals.data.map_won = false
8-
ShareGlobals.goal_notice = false
8+
ShareGlobals.data.goal_notice = false
99

1010
local function rocket_launched()
1111
if ShareGlobals.data.map_won then
1212
return
1313
end
1414

15-
if ShareGlobals.goal_notice then
15+
if ShareGlobals.data.goal_notice then
1616
return
1717
end
1818

19-
ShareGlobals.goal_notice = true
19+
ShareGlobals.data.goal_notice = true
2020
local message = 'Craft a legendary Mech Armor to win the map.'
2121
game.print(message)
2222
Server.to_discord_bold(message)

0 commit comments

Comments
 (0)