Fix Bug
This commit is contained in:
parent
1c4d53456c
commit
a6b50c17ab
@ -1698,6 +1698,12 @@ core.prototype.drawAutotileBlock = function (map, x, y, size, autotile, index) {
|
||||
}
|
||||
}
|
||||
|
||||
core.prototype.autotileExists = function (x, y, floorId) {
|
||||
var block = core.getBlock(x,y,floorId);
|
||||
if (block==null) return false;
|
||||
return block.block.event.cls == 'autotile';
|
||||
}
|
||||
|
||||
core.prototype.noPassExists = function (x, y, floorId) {
|
||||
var block = core.getBlock(x,y,floorId);
|
||||
if (block==null) return false;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user