removed unused migration

This commit is contained in:
mamoniot
2023-04-30 15:43:42 -04:00
parent 2d33b908dd
commit 230fe3a732

View File

@@ -351,25 +351,4 @@ end
---NOTE 2: Everything in this section must be idempotent
function on_debug_revision_change()
local map_data = global
if debug_revision == 1 then
for _, e in pairs(map_data.refuelers) do
if e.network_flag ~= nil then
e.network_mask = e.network_flag
e.network_flag = nil
end
end
for _, e in pairs(map_data.stations) do
if e.network_flag ~= nil then
e.network_mask = e.network_flag
e.network_flag = nil
end
end
for _, e in pairs(map_data.trains) do
if e.network_flag ~= nil then
e.network_mask = e.network_flag
e.network_flag = nil
end
end
end
end