mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 05:00:55 +01:00
[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user