Skip to content

Commit

Permalink
nuke map fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hanakocz committed Oct 4, 2024
1 parent 158cac0 commit 2393610
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion maps/chronosphere/event_functions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ end
function Public.danger_silo(entity)
local objective = Chrono_table.get_table()
if objective.world.id == 2 and objective.world.variant.id == 2 then
if objective.dangers and #objective.dangers > 1 then
if objective.dangers and #objective.dangers >= 1 then
for i = 1, #objective.dangers, 1 do
if entity == objective.dangers[i].silo then
game.print({'chronosphere.message_silo', Balance.nukes_looted_per_silo(Difficulty.get().difficulty_vote_value)}, {r = 0.98, g = 0.66, b = 0.22})
Expand Down

0 comments on commit 2393610

Please sign in to comment.