Update changelog

This commit is contained in:
Cooldude2606 committed 2024-11-23 14:27:03 +00:00
1 parent 8b551deda8
commit ba3d74388d
4 files changed
+9 -5

No files matched your search

@@ -359,9 +359,9 @@ end
-- Upload inventory when a player leaves the game. Triggers on restart after crash if player was online during crash.
inventory_sync.events[defines.events.on_pre_player_left_game] = function(event)
-- for some reason, on_pre_player_left_game gets called before on_server_startup so global isn't ready yet
-- for some reason, on_pre_player_left_game gets called before on_server_startup so script_data isn't ready yet
if not compat.script_data().inventory_sync then
log("ERROR: Global inventory sync not defined")
log("ERROR: script data for inventory sync is not defined")
return
end