diff --git a/maps/mountain_fortress_v3/breached_wall.lua b/maps/mountain_fortress_v3/breached_wall.lua index 08bb8db5..512f2af7 100644 --- a/maps/mountain_fortress_v3/breached_wall.lua +++ b/maps/mountain_fortress_v3/breached_wall.lua @@ -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) diff --git a/maps/mountain_fortress_v3/ic/functions.lua b/maps/mountain_fortress_v3/ic/functions.lua index 29070eb4..948a580d 100644 --- a/maps/mountain_fortress_v3/ic/functions.lua +++ b/maps/mountain_fortress_v3/ic/functions.lua @@ -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