mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-09 23:27:56 +01:00
Fixes runtime with eye of god on destroy (#70636)
This commit is contained in:
@@ -764,7 +764,9 @@
|
||||
// Behead someone, their "glasses" drop on the floor
|
||||
// and thus, the god eye should no longer be sticky
|
||||
REMOVE_TRAIT(src, TRAIT_NODROP, EYE_OF_GOD_TRAIT)
|
||||
scan_ability.Remove(user)
|
||||
// And remove the scan ability, note that if we're being called from Destroy
|
||||
// that this may already be nulled and removed
|
||||
scan_ability?.Remove(user)
|
||||
|
||||
/obj/item/clothing/glasses/godeye/proc/pain(mob/living/victim)
|
||||
to_chat(victim, span_userdanger("You experience blinding pain, as [src] burrows into your skull."))
|
||||
|
||||
Reference in New Issue
Block a user