mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-17 01:54:25 +01:00
some istype to macros (#16826)
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
set category = "Object"
|
||||
set src in view(1)
|
||||
|
||||
if(usr.incapacitated() || !istype(usr, /mob/living))
|
||||
if(usr.incapacitated() || !isliving(usr))
|
||||
to_chat(usr, span_warning("You can't do that."))
|
||||
return
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
set category = "Object"
|
||||
set src in view(1)
|
||||
|
||||
if(usr.incapacitated() || !istype(usr, /mob/living))
|
||||
if(usr.incapacitated() || !isliving(usr))
|
||||
to_chat(usr, span_warning("You can't do that."))
|
||||
return
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
set category = "Object"
|
||||
set src in view(1)
|
||||
|
||||
if(usr.incapacitated() || !istype(usr, /mob/living))
|
||||
if(usr.incapacitated() || !isliving(usr))
|
||||
to_chat(usr, span_warning("You can't do that."))
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user