mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-03-17 20:58:13 +02:00
Make luacheck happy
This commit is contained in:
parent
9c7dc00021
commit
c287e06fd0
@ -169,18 +169,6 @@ local function get_player_surface(player)
|
||||
return false
|
||||
end
|
||||
|
||||
local function get_player_entity_upgrade_surface(player)
|
||||
local cars = IC.get('cars')
|
||||
for k, car in pairs(cars) do
|
||||
if car.owner == player.index and type(car.entity) == 'boolean' then
|
||||
return car.name, true
|
||||
elseif car.owner == player.index then
|
||||
return car.name, false
|
||||
end
|
||||
end
|
||||
return false, false
|
||||
end
|
||||
|
||||
local function get_player_entity(player)
|
||||
local cars = IC.get('cars')
|
||||
for k, car in pairs(cars) do
|
||||
|
Loading…
x
Reference in New Issue
Block a user