]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Clear all status effects from the player instead of removing them, fixes removal... Mario/status_effects_soundfix_alt 926/head
authorMario <mario.mario@y7mail.com>
Mon, 16 Aug 2021 07:35:40 +0000 (17:35 +1000)
committerMario <mario.mario@y7mail.com>
Mon, 16 Aug 2021 07:35:40 +0000 (17:35 +1000)
qcsrc/common/mutators/mutator/status_effects/sv_status_effects.qc

index 0ec5d4d5c5760ac87fbc44b70b81637bb26a068f..1fa8174f687ac98d6651b97407615d3d345aa781 100644 (file)
@@ -65,7 +65,7 @@ MUTATOR_HOOKFUNCTION(status_effects, PlayerDies)
 {
        entity frag_target = M_ARGV(2, entity);
 
-       StatusEffects_removeall(frag_target, STATUSEFFECT_REMOVE_NORMAL);
+       StatusEffects_removeall(frag_target, STATUSEFFECT_REMOVE_CLEAR);
 }
 
 MUTATOR_HOOKFUNCTION(status_effects, MakePlayerObserver)