Skip to content

Commit 4d152a3

Browse files
authored
Fix simple tile map collision when created at position (0 ; 0) (#8196)
1 parent 1423068 commit 4d152a3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Extensions/TileMap/simpletilemapruntimeobject.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,9 @@ namespace gdjs {
275275
);
276276
}
277277

278+
this._transformationIsUpToDate = false;
278279
this.updateTransformation();
280+
this.invalidateHitboxes();
279281
}
280282
);
281283
}

0 commit comments

Comments
 (0)