1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-01-24 03:47:58 +02:00

Bugfix: Score updates properly when a rocket is launched

This commit is contained in:
MaemiKozue 2019-06-11 12:29:00 +02:00
parent dddf4be3ab
commit 835f7f8188

View File

@ -303,7 +303,7 @@ local function on_rocket_launched(event)
end
local force_score = global.score[force_name]
force_score = 1 + (force_score.rocket_launches or 0)
force_score.rocket_launches = 1 + (force_score.rocket_launches or 0)
--game.print ("A rocket has been launched!", {r=0.98, g=0.66, b=0.22})
refresh_score_full()
end