mirror of
https://github.com/Xevion/project-cybersyn.git
synced 2025-12-08 12:08:09 -06:00
Attempt to fix reported crash __cybersyn__/scripts/gui/stations.lua:110: bad argument #2 of 3 to 'btest' (number expected, got nil)
This commit is contained in:
@@ -78,7 +78,7 @@ function inventory_tab.build(map_data, player_data)
|
||||
goto continue
|
||||
end
|
||||
::has_match::
|
||||
local train_flag = get_network_flag(station, search_network_name)
|
||||
local train_flag = get_network_flag(station, station.network_name)
|
||||
if not bit32.btest(search_network_mask, train_flag) then
|
||||
goto continue
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user