gdquest-demos / godot-procedural-generation

Procedural generation algorithms and demos for the Godot game engine
Other
1.53k stars 84 forks source link

Fix NEIGHBORS directions in LayeredWorldGenerator.gd #3

Closed Lekrashar closed 3 years ago

Lekrashar commented 3 years ago

Fixed a subtle bug to the NEIGHBORS array. It was checking the top-right neighbor twice while ignoring the top-left one entirely.

Please check if the PR fulfills these requirements:

Related issue (if applicable): #

What kind of change does this PR introduce?

Does this PR introduce a breaking change?

New feature or change

What is the current behavior?

What is the new behavior?

Other information

NathanLovato commented 3 years ago

Good catch, thanks!