mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-26 10:03:45 +00:00
Generalizes the feed and force feed checks.
This commit is contained in:
@@ -34,10 +34,8 @@
|
||||
else
|
||||
return ..()
|
||||
|
||||
if(ishuman(M))
|
||||
var/mob/living/carbon/human/H = M
|
||||
if(!H.can_eat(src))
|
||||
return
|
||||
if(!M.can_eat(src))
|
||||
return
|
||||
|
||||
if (reagents.total_volume > 0)
|
||||
reagents.trans_to_mob(M, reagents.total_volume, CHEM_INGEST)
|
||||
|
||||
Reference in New Issue
Block a user