diff options
Diffstat (limited to 'features/dungeonMap')
| -rw-r--r-- | features/dungeonMap/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/features/dungeonMap/index.js b/features/dungeonMap/index.js index 9dccf92..05bd25a 100644 --- a/features/dungeonMap/index.js +++ b/features/dungeonMap/index.js @@ -456,7 +456,7 @@ class DungeonMap extends Feature { } }) - let [tx, ty] = [x+roomWidth/2, y+roomWidth/2] + let [tx, ty] = [~~(x+roomWidth/2), ~~(y+roomWidth/2)] if(bytes[tx+ty*128] === 66){ |
