Skip to content

Commit

Permalink
Merge pull request #182 from cullumi/Remove-Generate-Borders-Settings…
Browse files Browse the repository at this point in the history
…-Guard

Removed unnecessary guard in GenerateBorders.gd
  • Loading branch information
BenjaTK authored Feb 21, 2025
2 parents b452990 + f9b924a commit f788fb0
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions addons/gaea/modifiers/2D/generate_borders.gd
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,6 @@ var _temp_grid: GaeaGrid


func apply(grid: GaeaGrid, generator: GaeaGenerator) -> void:
# Check if the generator has a "settings" variable and if those
# settings have a "tile" variable.
if not generator.get("settings") or not generator.settings.get("tile"):
push_warning("GenerateBorder modifier not compatible with %s" % generator.name)
return

_temp_grid = grid.clone()

_generate_border_walls(grid)
Expand Down

0 comments on commit f788fb0

Please sign in to comment.