1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2024-12-30 23:17:53 +02:00

Fix luacheck

This commit is contained in:
Gerkiz 2024-04-21 19:17:41 +02:00
parent b55e0c42f7
commit 15e0042d53
2 changed files with 1 additions and 2 deletions

View File

@ -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)

View File

@ -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