BenjaTK / Gaea

Procedural generation add-on for Godot 4.
https://benjatk.github.io/Gaea/
MIT License
1.06k stars 52 forks source link

Crash on "Run Project" because of typo in "modifier.gd" #154

Closed IrontMesdents closed 2 months ago

IrontMesdents commented 2 months ago

Hello, it's my fisrt bug report ever on Git, so sorry if I don't follow a certain etiquette.

While using Gaea in my godot project, there is a compile error related to the "modifier.gd" script and I think I found the issue. In the Enum "FilterType" on line 10, the last filter is "ONLY_EMPTY_CELLS". However, on line 38, the "_passes_filter" function has an if statement with an filter type named "ONLY_EMPTY_TILES" that looks like a redundancy from line 47.

I commented it out and it seems to be launching the debug mode, but I'm not sure if I bypassed an issue by creating another or if it fixed it.

BenjaTK commented 2 months ago

This has been fixed in the latest release, I noticed it today.