Skip to content

Commit ca03e8d

Browse files
author
Josh Lory
committed
Cleanup: stop special-casing certain level IDs
1 parent f2755a8 commit ca03e8d

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

src/beeCell.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @overview BeeCell represents the contets of the grid elements for Bee.
2+
* @overview BeeCell represents the contents of the grid elements for Bee.
33
* Bee BeeCells are more complex than many other kinds of cell; they can be
44
* "hidden" with clouds, they can represent multiple different kinds of
55
* element (flower, hive), some of which can be multiple colors (red,

src/subtype.js

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
const Cell = require('./cell')
2-
const DirtDrawer = require('./dirtDrawer')
1+
const Cell = require('./cell');
2+
const DirtDrawer = require('./dirtDrawer');
33

44
const SquareType = require('./tiles').SquareType;
55
const EventEmitter = require('events').EventEmitter; // provided by webpack's node-libs-browser
@@ -149,11 +149,6 @@ module.exports = class Subtype extends EventEmitter {
149149
tile = 'null' + wallIdx;
150150
}
151151

152-
// For the first 3 levels in maze, only show the null0 image.
153-
if (['2_1', '2_2', '2_3'].includes(this.level_.id)) {
154-
this.wallMap[y][x] = 0;
155-
tile = 'null0';
156-
}
157152
return tile;
158153
}
159154

0 commit comments

Comments
 (0)