From eea0bdc54cf6d199d2e8de6020cdced4856a9048 Mon Sep 17 00:00:00 2001 From: Singularis Date: Tue, 21 Jan 2025 11:28:57 +0100 Subject: [advtrains_line_automation] staniční rozhlas: první alfa-verze MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - [signs_api,signs_road] neviditelné cedule jsou nově průchozí (oprava) - [signs_road] přidána svítící neviditelná cedule --- advtrains_line_automation/line_functions.lua | 3 --- 1 file changed, 3 deletions(-) (limited to 'advtrains_line_automation/line_functions.lua') 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 -- cgit v1.2.3