We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f5600a commit 0c3d60eCopy full SHA for 0c3d60e
Entities/AttachedIceWall.cs
@@ -11,6 +11,7 @@ public static Entity Load(Level level, LevelData levelData, Vector2 offset, Enti
11
WallBooster iceWall = new WallBooster(entityData.Position + offset, entityData.Height, left, notCoreMode: true);
12
StaticMover staticMover = iceWall.Get<StaticMover>();
13
staticMover.SolidChecker = solid => iceWall.CollideCheck(solid, iceWall.Position + (left ? -2 : 2) * Vector2.UnitX);
14
+ staticMover.OnAttach = platform => iceWall.Depth = platform.Depth + 1;
15
iceWall.Get<CoreModeListener>().RemoveSelf();
16
return iceWall;
17
}
0 commit comments