diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/main.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/main.js b/scripts/main.js index 8df176b..8f3bbee 100644 --- a/scripts/main.js +++ b/scripts/main.js | |||
@@ -1,6 +1,6 @@ | |||
1 | const DEFAULT_APP_STATE = { | 1 | const DEFAULT_APP_STATE = { |
2 | floor: 0, // This is 0-based. | 2 | floor: 0, // This is 0-based. |
3 | plan: new Array(FLOOR_COUNT).fill( | 3 | plan: new Array(FLOOR_COUNT).fill(null).map(() => |
4 | new Array(GRID_SIZE_X * GRID_SIZE_Y).fill(0)), | 4 | new Array(GRID_SIZE_X * GRID_SIZE_Y).fill(0)), |
5 | // mouse_state can be “normal”, or “dnd”. | 5 | // mouse_state can be “normal”, or “dnd”. |
6 | mouse_state: "normal", | 6 | mouse_state: "normal", |