mirror of
https://github.com/Xevion/project-cybersyn.git
synced 2025-12-08 04:08:07 -06:00
added check for poisoned migrations
This commit is contained in:
@@ -328,11 +328,20 @@ function on_config_changed(data)
|
||||
global.tick_data = {}
|
||||
global.perf_cache = {}
|
||||
|
||||
flib_migration.on_config_changed(data, migrations_table)
|
||||
|
||||
if global.manager then
|
||||
for i, v in pairs(global.manager.players) do
|
||||
manager_gui.reset_player(i, v)
|
||||
end
|
||||
else
|
||||
global.manager = {
|
||||
players = {},
|
||||
}
|
||||
for i, v in pairs(game.players) do
|
||||
manager_gui.on_player_created({player_index = i})
|
||||
end
|
||||
end
|
||||
|
||||
flib_migration.on_config_changed(data, migrations_table)
|
||||
|
||||
IS_SE_PRESENT = remote.interfaces["space-exploration"] ~= nil
|
||||
if IS_SE_PRESENT and not global.se_tele_old_id then
|
||||
|
||||
Reference in New Issue
Block a user