Skip to content

Commit 3ce63fb

Browse files
authored
Add files via upload
1 parent f0b072b commit 3ce63fb

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

scripts/config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Hooks.on("renderTileConfig", (app, html, data) => {
1313
<div class="form-group">
1414
<label for="heightRange">${game.i18n.localize("levels.tilecoonfig.range.name")}<span class="units">(${game.i18n.localize("levels.tilecoonfig.range.unit")})</span></label>
1515
<div class="form-fields">
16-
<input type="number" name="heightRange" value="${heightRange}" step="1">
16+
<input type="text" name="heightRange" value="${heightRange}" step="1">
1717
</div>
1818
</div>
1919
`;

scripts/levels.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -299,8 +299,7 @@ class Levels {
299299
}
300300

301301
removeTempToken(token) {
302-
let tile = token;
303-
let sprite = this.floorContainer.children.find((c) => c.name == tile.id);
302+
let sprite = this.floorContainer.children.find((c) => c.name == token.id);
304303
if (sprite) this.floorContainer.removeChild(sprite);
305304
}
306305

0 commit comments

Comments
 (0)