mirror of
https://github.com/photonstorm/phaser
synced 2024-11-15 09:27:37 +00:00
Merge pull request #1 from videlais/patch-1
Tilemap.swap() called twice should not flip values
This commit is contained in:
commit
0d16f877b3
1 changed files with 1 additions and 1 deletions
|
@ -1157,7 +1157,7 @@ Phaser.Tilemap.prototype = {
|
|||
{
|
||||
this._results[index].index = this._tempB;
|
||||
}
|
||||
else if (value.index === this._tempB)
|
||||
if (value.index === this._tempB)
|
||||
{
|
||||
this._results[index].index = this._tempA;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue