mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-28 23:51:17 +01:00
Multi-Borer Fix (#11422)
This commit is contained in:
@@ -73,8 +73,12 @@
|
||||
if(!E || E.is_stump())
|
||||
to_chat(src, SPAN_WARNING("\The [H] does not have a head!"))
|
||||
return
|
||||
if(!H.species.has_organ[BP_BRAIN])
|
||||
to_chat(src, SPAN_WARNING("\The [H] does not seem to have an ear canal to breach."))
|
||||
var/obj/item/organ/internal/I = H.species.has_organ[BP_BRAIN]
|
||||
if(!I)
|
||||
to_chat(src, SPAN_WARNING("\The [H] doesn't have a brain!"))
|
||||
return
|
||||
if(istype(I, /obj/item/organ/internal/borer))
|
||||
to_chat(src, SPAN_WARNING("You cannot infest someone who is already infested!"))
|
||||
return
|
||||
if(H.isSynthetic())
|
||||
to_chat(src, SPAN_NOTICE("You can't affect synthetics."))
|
||||
|
||||
Reference in New Issue
Block a user