Skulls no longer pause in mid fall when you leave a storm but instead reset. No more surprise splats.

This commit is contained in:
Storm Dragon
2025-03-05 21:34:54 -05:00
parent 61927dc713
commit 2887023753

View File

@@ -42,6 +42,12 @@ class SkullStorm(Object):
self.playerInRange = False
speak("Skull storm ended.")
# Clear any active skulls when player leaves the range
for skull in self.activeSkulls[:]:
if skull['channel']:
obj_stop(skull['channel'])
self.activeSkulls = [] # Reset the list of active skulls
if not inRange:
return