mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-01-24 03:47:58 +02:00
fish defender v2 minor tweak
This commit is contained in:
parent
d474dc2c71
commit
f80196c612
@ -1242,7 +1242,10 @@ function Public.reset_game()
|
|||||||
|
|
||||||
Difficulty.reset_difficulty_poll()
|
Difficulty.reset_difficulty_poll()
|
||||||
local wave_grace_period = FDT.get('wave_grace_period')
|
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()
|
AntiGrief.reset_tables()
|
||||||
FDT.reset_table()
|
FDT.reset_table()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user