mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 11:43:31 +00:00
Fixes #9965
- Hardsuit injectors now only work on carbon-based mobs. This prevents injecting of AIs, Robots and other silicon-based mobs.
This commit is contained in:
@@ -211,9 +211,9 @@
|
|||||||
else if(charge.charges < chems_to_use)
|
else if(charge.charges < chems_to_use)
|
||||||
chems_to_use = charge.charges
|
chems_to_use = charge.charges
|
||||||
|
|
||||||
var/mob/living/target_mob
|
var/mob/living/carbon/target_mob
|
||||||
if(target)
|
if(target)
|
||||||
if(istype(target,/mob/living))
|
if(istype(target,/mob/living/carbon))
|
||||||
target_mob = target
|
target_mob = target
|
||||||
else
|
else
|
||||||
return 0
|
return 0
|
||||||
|
|||||||
Reference in New Issue
Block a user