1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-01-06 00:23:49 +02:00

fish defender v2 minor tweak

This commit is contained in:
Gerkiz 2020-11-11 22:19:30 +01:00
parent d474dc2c71
commit f80196c612

View File

@ -1242,7 +1242,10 @@ function Public.reset_game()
Difficulty.reset_difficulty_poll()
local wave_grace_period = FDT.get('wave_grace_period')
Difficulty.set_poll_closing_timeout(wave_grace_period)
if not wave_grace_period then
wave_grace_period = game.tick + 3600 * 20
end
Difficulty.reset_difficulty_poll({difficulty_poll_closing_timeout = wave_grace_period})
AntiGrief.reset_tables()
FDT.reset_table()