mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-18 02:24:11 +01:00
Prevents IPC husking (#21045)
* prevents IPC husking * moves check to become_husk()
This commit is contained in:
@@ -133,6 +133,9 @@
|
||||
update_mutantrace()
|
||||
|
||||
/mob/living/carbon/human/proc/become_husk(source)
|
||||
if(ismachineperson(src))
|
||||
return
|
||||
|
||||
if(!HAS_TRAIT(src, TRAIT_HUSK))
|
||||
ADD_TRAIT(src, TRAIT_HUSK, source)
|
||||
var/obj/item/organ/external/head/H = bodyparts_by_name["head"]
|
||||
|
||||
Reference in New Issue
Block a user