[MIRROR] Fixes surrender alert sticking around forever (#3774)

* Proper source for surrender status effect (#57312)

* Fixes surrender alert sticking around forever

Co-authored-by: Yenwodyah <yenwodyah@gmail.com>
This commit is contained in:
SkyratBot
2021-03-03 02:00:20 +00:00
committed by GitHub
co-authored by Yenwodyah
parent 3038bfcbc7
commit 38f5faf0a7
+2 -2
View File
@@ -130,11 +130,11 @@
icon_state = "aimed"
/datum/status_effect/grouped/heldup/on_apply()
owner.apply_status_effect(STATUS_EFFECT_SURRENDER)
owner.apply_status_effect(STATUS_EFFECT_SURRENDER, src)
return ..()
/datum/status_effect/grouped/heldup/on_remove()
owner.remove_status_effect(STATUS_EFFECT_SURRENDER)
owner.remove_status_effect(STATUS_EFFECT_SURRENDER, src)
return ..()
// holdup is for the person aiming