diff options
author | Singularis <singularis@volny.cz> | 2025-01-21 11:28:57 +0100 |
---|---|---|
committer | orwell <orwell@bleipb.de> | 2025-05-27 20:22:01 +0200 |
commit | eea0bdc54cf6d199d2e8de6020cdced4856a9048 (patch) | |
tree | a307e4541879cadf65d90e7531348b90b9b7326d /advtrains_line_automation/line_functions.lua | |
parent | d49e6ad23c66e8a2a9be3b1fb9f0527617a257d6 (diff) | |
download | advtrains-eea0bdc54cf6d199d2e8de6020cdced4856a9048.tar.gz advtrains-eea0bdc54cf6d199d2e8de6020cdced4856a9048.tar.bz2 advtrains-eea0bdc54cf6d199d2e8de6020cdced4856a9048.zip |
[advtrains_line_automation] staniční rozhlas: první alfa-verze
- [signs_api,signs_road] neviditelné cedule jsou nově průchozí (oprava)
- [signs_road] přidána svítící neviditelná cedule
Diffstat (limited to 'advtrains_line_automation/line_functions.lua')
-rw-r--r-- | advtrains_line_automation/line_functions.lua | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/advtrains_line_automation/line_functions.lua b/advtrains_line_automation/line_functions.lua index 6f60ab5..0963676 100644 --- a/advtrains_line_automation/line_functions.lua +++ b/advtrains_line_automation/line_functions.lua @@ -131,7 +131,6 @@ local function get_first_last_stations(linevar_def) end end end - print("get_first_last_stations(): "..dump2({i_first = i_first, i_last = i_last, i_firstx = i_firstx, i_lastx = i_lastx, stops = stops})) if i_first ~= nil and i_last ~= nil then return stops[i_first].stn, stops[i_last].stn elseif i_firstx ~= nil and i_lastx ~= nil then @@ -343,13 +342,11 @@ end b) nil, nil -- pokud nalezena nebyla ]] function al.get_terminus(linevar_def, current_index, allow_hidden_stops) - print("DEBUG: get_terminus() called: "..dump2({linevar_def, current_index, allow_hidden_stops})) local stops = assert(linevar_def.stops) local r_i, r_stop if current_index < #stops then for i = current_index + 1, #stops do local mode = stops[i].mode or MODE_NORMAL - print("DEBUG: stop mode at index "..i.." is "..(mode or MODE_NORMAL)) if mode ~= MODE_DISABLED and ((mode ~= MODE_HIDDEN and mode ~= MODE_FINAL_HIDDEN) or allow_hidden_stops) then r_i, r_stop = i, stops[i] end |