Update Tilemap.js

This commit is contained in:
sivael 2014-06-27 14:36:06 +02:00
parent 7fb5c8cf5d
commit cdaab269a0

View file

@ -892,7 +892,7 @@ Phaser.Tilemap.prototype = {
* @param {boolean} if true it will put the recalculation on hold.
*/
setPreventRecalculate: function (value) {
if((value===true)&&(this.preventingRecalculate===false)){
if((value===true)&&(this.preventingRecalculate!==true)){
this.preventingRecalculate = true;
this.needToRecalculate = {};
}