mirror of
https://github.com/Xevion/project-cybersyn.git
synced 2025-12-06 05:16:06 -06:00
Merge pull request #118 from freyacodes/fix/manager-migration
Ensure manager is initialised upon migration
This commit is contained in:
@@ -161,6 +161,10 @@ end
|
||||
|
||||
|
||||
function manager_gui.on_migration()
|
||||
if not global.manager then
|
||||
manager_gui.on_init()
|
||||
end
|
||||
|
||||
for i, p in pairs(game.players) do
|
||||
if global.manager.players[i] == nil then
|
||||
create_player(i)
|
||||
|
||||
Reference in New Issue
Block a user