fix invalid reference

This commit is contained in:
Will Berry
2023-03-10 13:29:59 -05:00
parent 42c1285dba
commit 681358705f

View File

@@ -283,7 +283,7 @@ function stations_tab.handle.open_station_gui(player, player_data, refs, e)
local station_comb2 = station.entity_comb2
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
end