fix legacy signal aspect converter

master
orwell96 2021-02-10 18:28:50 +01:00
parent 96bb7d5e7e
commit 1e0ae9fcc5
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ local function convert_aspect_if_necessary(asp)
else
newasp.main = 0
end
if asp.dst.free then
if asp.dst and asp.dst.free then
newasp.dst = asp.dst.speed
else
newasp.dst = 0