mirror of
https://github.com/Xevion/project-cybersyn.git
synced 2025-12-11 06:08:19 -06:00
fix
This commit is contained in:
@@ -124,6 +124,7 @@ function init_global()
|
|||||||
global.layout_train_count = {}
|
global.layout_train_count = {}
|
||||||
global.layout_top_id = 1
|
global.layout_top_id = 1
|
||||||
|
|
||||||
|
IS_SE_PRESENT = remote.interfaces["space-exploration"] ~= nil
|
||||||
if IS_SE_PRESENT then
|
if IS_SE_PRESENT then
|
||||||
global.se_tele_old_id = {}
|
global.se_tele_old_id = {}
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -189,6 +189,8 @@ local migrations_table = {
|
|||||||
---@param data ConfigurationChangedData
|
---@param data ConfigurationChangedData
|
||||||
function on_config_changed(data)
|
function on_config_changed(data)
|
||||||
flib_migration.on_config_changed(data, migrations_table)
|
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
|
if IS_SE_PRESENT and not global.se_tele_old_id then
|
||||||
global.se_tele_old_id = {}
|
global.se_tele_old_id = {}
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user