mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2024-12-30 23:17:53 +02:00
Fix luacheck
This commit is contained in:
parent
b55e0c42f7
commit
15e0042d53
@ -204,7 +204,6 @@ local check_distance_between_player_and_locomotive = function(player)
|
||||
end
|
||||
|
||||
if collapse_distance then
|
||||
local source = {position.x, c_y + gap_between_locomotive.neg_gap_collapse + 4}
|
||||
player.teleport(source, surface)
|
||||
|
||||
player.print(({'breached_wall.hinder_collapse'}), Color.warning)
|
||||
|
@ -602,7 +602,7 @@ local function get_player_data(player)
|
||||
if players[player.index] then
|
||||
return player_data
|
||||
end
|
||||
local fallback = WPT.get('active_surface_index')
|
||||
local fallback = WPT.get('active_surface_index')
|
||||
if not fallback then
|
||||
fallback = 1
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user