Skip to content

Commit

Permalink
Merge pull request #1 from DizzyEggg/patch-2
Browse files Browse the repository at this point in the history
GenerateOuterRingFloor - grid_size_x->grid_size_y typo
  • Loading branch information
EpicYoshiMaster authored Nov 15, 2024
2 parents 45b431c + 17624c9 commit 04b8ee9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dungeon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2852,7 +2852,7 @@ function GenerateOuterRingFloor(floor_props: FloorProperties) {
const cursor_x = dungeonRand.RandInt(grid_size_x);
const cursor_y = dungeonRand.RandInt(grid_size_y);

AssignGridCellConnections(grid, grid_size_x, grid_size_x, cursor_x, cursor_y, floor_props);
AssignGridCellConnections(grid, grid_size_x, grid_size_y, cursor_x, cursor_y, floor_props);
CreateGridCellConnections(grid, grid_size_x, grid_size_y, list_x, list_y, false);

EnsureConnectedGrid(grid, grid_size_x, grid_size_y, list_x, list_y);
Expand Down

0 comments on commit 04b8ee9

Please sign in to comment.