fixme: re-init TileSet when count is zero..
This commit is contained in:
parent
5cac7894c3
commit
24c8b4c16f
@ -186,7 +186,7 @@ public class TileManager {
|
|||||||
public boolean update(MapPosition pos) {
|
public boolean update(MapPosition pos) {
|
||||||
|
|
||||||
// FIXME cant expect init to be called otherwise
|
// FIXME cant expect init to be called otherwise
|
||||||
if (mNewTiles == null)
|
if (mNewTiles == null || mNewTiles.tiles.length == 0)
|
||||||
init();
|
init();
|
||||||
|
|
||||||
/* clear JobQueue and set tiles to state == NONE.
|
/* clear JobQueue and set tiles to state == NONE.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user