Skip to content

Commit aa62674

Browse files
committed
Prevent Attached Ice Wall from becoming a wall booster on core mode switches
1 parent 6b4f86c commit aa62674

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Entities/AttachedIceWall.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ public static Entity Load(Level level, LevelData levelData, Vector2 offset, Enti
1111
WallBooster iceWall = new WallBooster(entityData.Position + offset, entityData.Height, left, notCoreMode: true);
1212
StaticMover staticMover = iceWall.Get<StaticMover>();
1313
staticMover.SolidChecker = solid => iceWall.CollideCheck(solid, iceWall.Position + (left ? -2 : 2) * Vector2.UnitX);
14+
iceWall.Get<CoreModeListener>().RemoveSelf();
1415
return iceWall;
1516
}
1617
}

0 commit comments

Comments
 (0)