1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-02-11 13:39:14 +02:00

fish defender v2 update

This commit is contained in:
Gerkiz 2021-06-18 21:12:30 +02:00
parent ba6f563642
commit 6b54f4e5c4

View File

@ -1015,6 +1015,9 @@ local function on_entity_died(event)
FDT.set('market_age', game.tick - last_reset)
FDT.set('game_has_ended', true)
is_game_lost()
local name = Server.get_server_name()
local date = Server.get_start_time()
game.server_save('Final_' .. name .. '_' .. tostring(date))
return
end