Skip to content

Commit

Permalink
Fix The Tomb of a Thousand (T)errors Game (#2749)
Browse files Browse the repository at this point in the history
renaming function
  • Loading branch information
EerierGosling authored Dec 22, 2024
1 parent d750398 commit bf37962
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions games/TheTombOfAThousandTerrors.js
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ function startLevel() {

levelState.mapSizeX = def.size[0];
levelState.mapSizeY = def.size[1];
levelState.map = getGrid(levelState.mapSizeX, levelState.mapSizeY);
levelState.map = getGridFunction(levelState.mapSizeX, levelState.mapSizeY);
levelState.map = generatePrimMaze(levelState.map);

let objects = [];
Expand Down Expand Up @@ -567,7 +567,7 @@ function setTile(x,y, tile) {
}

// Maze generation
function getGrid(width, height) {
function getGridFunction(width, height) {
var grid = [];

for (let y = 0; y < height; y++) {
Expand Down

0 comments on commit bf37962

Please sign in to comment.