mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-01-30 04:40:54 +02:00
Fix expanse
This commit is contained in:
parent
f32e786adb
commit
af89411c33
@ -202,7 +202,7 @@ function Public.invasion_numbers()
|
||||
end
|
||||
|
||||
function Public.invasion_warn(event)
|
||||
local seconds = (120 * 60 - event.delay) / 60
|
||||
local seconds = (120 * 60 - (event.delay or 0)) / 60
|
||||
game.print({'expanse.biters_invasion_warning', seconds, event.size}, {r = 0.88, g = 0.22, b = 0.22})
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user