mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-01-26 03:52:22 +02:00
Mtn v3 - super minor fix
This commit is contained in:
parent
6143d05d91
commit
53364e477a
@ -821,6 +821,10 @@ Gui.on_click(
|
||||
local cars = ICT.get('cars')
|
||||
local c = Functions.get_owner_car_object(cars, player)
|
||||
local car = cars[c]
|
||||
if not car then
|
||||
return
|
||||
end
|
||||
|
||||
local entity = car.entity
|
||||
if entity and entity.valid then
|
||||
Functions.kill_car_but_save_surface(entity)
|
||||
|
Loading…
x
Reference in New Issue
Block a user