Porting a load of disease/symptoms code updates.

This commit is contained in:
Ghommie
2019-10-05 07:14:25 +02:00
parent 7dada70447
commit 3d22f4ec60
26 changed files with 357 additions and 153 deletions
+1 -1
View File
@@ -234,7 +234,7 @@
/datum/component/storage/proc/quick_empty(mob/M)
var/atom/A = parent
if((!ishuman(M) && (A.loc != M)) || (M.stat != CONSCIOUS) || M.restrained() || !M.canmove)
if(!M.canUseStorage() || !A.Adjacent(M) || M.incapacitated())
return
if(check_locked(null, M, TRUE))
return FALSE