Skip to content

Commit

Permalink
Change collision layer name (#343)
Browse files Browse the repository at this point in the history
  • Loading branch information
PHIDIAS0303 authored Dec 30, 2024
1 parent e02e50a commit 60e9aae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exp_legacy/module/modules/gui/warp-list.lua
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ local add_new_warp =
local position = player.physical_position

-- Check if the warp is too close to water
local water_tiles = surface.find_tiles_filtered{ collision_mask = "water-tile", radius = config.standard_proximity_radius + 1, position = position }
local water_tiles = surface.find_tiles_filtered{ collision_mask = "water_tile", radius = config.standard_proximity_radius + 1, position = position }
if #water_tiles > 0 then
player.print(
{ "expcore-commands.command-fail", { "warp-list.too-close-to-water", config.standard_proximity_radius + 1 } },
Expand Down

0 comments on commit 60e9aae

Please sign in to comment.