If you're having trouble, move the priority check higher

This commit is contained in:
Poojawa
2018-02-01 22:31:42 -06:00
parent e0703fcecc
commit 5680a33004
+5
View File
@@ -373,6 +373,11 @@
if(target.buckled)
to_chat(user, "<span class='warning'>The user is buckled and can not be put into your [src.name].</span>")
return
if(istype(target,/obj/item))
var/obj/item/target_obj = target
if(target_obj.type in important_items)
to_chat(user,"<span class='warning'>\The [target] registers an error code to your [src.name]</span>")
return
if(patient)
to_chat(user, "<span class='warning'>Your [src.name] is already occupied.</span>")
return