1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-02-07 13:31:40 +02:00

Offline players - hotfix

This commit is contained in:
Gerkiz 2022-10-23 09:15:27 +02:00
parent 6b4161aef9
commit 247d11d393

View File

@ -147,6 +147,11 @@ function Public.set_active_surface_index(value)
this.settings.active_surface_index = value or nil
end
--- Clears the offline table
function Public.clear_offline_players()
this.offline_players = {}
end
local remove_offline_players = Public.remove_offline_players
Event.on_nth_tick(200, remove_offline_players)