Skulls no longer pause in mid fall when you leave a storm but instead reset. No more surprise splats.
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user