From 7bab6f3f91dd5edc7e760d7ede7e5af728806e48 Mon Sep 17 00:00:00 2001 From: catapillie Date: Wed, 17 Aug 2022 04:55:05 +0200 Subject: [PATCH] Fixed player hair issue when ducking in Purple Booster --- source/Entities/PurpleBooster.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/Entities/PurpleBooster.cs b/source/Entities/PurpleBooster.cs index 307c985..8c026a3 100644 --- a/source/Entities/PurpleBooster.cs +++ b/source/Entities/PurpleBooster.cs @@ -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(); bool? flag; if (level == null) {