Skip to content

Commit cdaab26

Browse files
committed
Update Tilemap.js
1 parent 7fb5c8c commit cdaab26

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/tilemap/Tilemap.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -892,7 +892,7 @@ Phaser.Tilemap.prototype = {
892892
* @param {boolean} if true it will put the recalculation on hold.
893893
*/
894894
setPreventRecalculate: function (value) {
895-
if((value===true)&&(this.preventingRecalculate===false)){
895+
if((value===true)&&(this.preventingRecalculate!==true)){
896896
this.preventingRecalculate = true;
897897
this.needToRecalculate = {};
898898
}

0 commit comments

Comments
 (0)