make distant signal aspect dropdown labels consistent with the ones for the main aspect

master
ywang 2021-05-30 14:57:48 +02:00
parent fb632f170a
commit 8793c8bd48
1 changed files with 2 additions and 2 deletions

View File

@ -471,9 +471,9 @@ function advtrains.interlocking.show_signal_aspect_selector(pname, p_suppasp, p_
elseif spv == -1 then elseif spv == -1 then
entry = "Expect to pass the next signal at maximum speed" entry = "Expect to pass the next signal at maximum speed"
elseif not spv then elseif not spv then
entry = "No distant signal information" entry = "No info"
else else
entry = string.format("Expect to pass the next signal with speed limit %d", spv) entry = string.format("Expect to pass the next signal at speed of %d", spv)
end end
entries[idx] = idx.."| "..entry entries[idx] = idx.."| "..entry
if isasp and spv == (isasp.dst or false) then if isasp and spv == (isasp.dst or false) then