mirror of
https://github.com/Xevion/project-cybersyn.git
synced 2025-12-07 01:16:05 -06:00
fix invalid reference
This commit is contained in:
@@ -283,7 +283,7 @@ function stations_tab.handle.open_station_gui(player, player_data, refs, e)
|
|||||||
local station_comb2 = station.entity_comb2
|
local station_comb2 = station.entity_comb2
|
||||||
|
|
||||||
if not station_entity or not station_entity.valid then
|
if not station_entity or not station_entity.valid then
|
||||||
util.error_flying_text(gui.player, { "message.ltnm-error-station-is-invalid" })
|
util.error_flying_text(player, { "message.ltnm-error-station-is-invalid" })
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user