From 144fb80dc2b87735129c276bd8f1e40daebbf8d4 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Thu, 27 Nov 2025 12:09:07 -0500 Subject: [PATCH] v3.3.0: fixed further cases of tengu crashes too =S --- .../shatteredpixeldungeon/levels/PrisonBossLevel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/PrisonBossLevel.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/PrisonBossLevel.java index 98a5a0c69..b9322bdce 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/PrisonBossLevel.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/PrisonBossLevel.java @@ -369,7 +369,7 @@ public class PrisonBossLevel extends Level { addVisuals(); //this also resets existing visuals traps.clear(); - for (CustomTilemap t : customTiles){ + for (CustomTilemap t : customTiles.toArray(new CustomTilemap[0])){ if (t instanceof FadingTraps){ ((FadingTraps) t).remove(); }