Skip to content

Commit

Permalink
Fixed player hair issue when ducking in Purple Booster
Browse files Browse the repository at this point in the history
  • Loading branch information
catapillie committed Aug 17, 2022
1 parent 659436b commit 7bab6f3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions source/Entities/PurpleBooster.cs
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,11 @@ public static void InitializeParticles() {
public static void PurpleBoostBegin() {
Util.TryGetPlayer(out Player player);
player.CurrentBooster = null;

// Fixes hair sticking out of the bubble sprite when entering it ducking.
// If for whatever reason this breaks an older map, this will be removed.
player.Ducking = false;

Level level = player.SceneAs<Level>();
bool? flag;
if (level == null) {
Expand Down

0 comments on commit 7bab6f3

Please sign in to comment.