v3.3.0: fixed further cases of tengu crashes too =S
This commit is contained in:
@@ -369,7 +369,7 @@ public class PrisonBossLevel extends Level {
|
|||||||
addVisuals(); //this also resets existing visuals
|
addVisuals(); //this also resets existing visuals
|
||||||
traps.clear();
|
traps.clear();
|
||||||
|
|
||||||
for (CustomTilemap t : customTiles){
|
for (CustomTilemap t : customTiles.toArray(new CustomTilemap[0])){
|
||||||
if (t instanceof FadingTraps){
|
if (t instanceof FadingTraps){
|
||||||
((FadingTraps) t).remove();
|
((FadingTraps) t).remove();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user