Everything else through the door (#19358)

This commit is contained in:
Vi3trice
2022-10-13 15:56:58 -04:00
committed by GitHub
parent 2410930b2b
commit 59dfdba201
134 changed files with 200 additions and 200 deletions
+1 -1
View File
@@ -134,7 +134,7 @@
if(!temp.vv_edit_var(v, SDQL_expression(d, set_list[sets])))
to_chat(usr, "[temp] rejected your varedit.")
break
if(temp.vars.Find(v) && (istype(temp.vars[v], /datum) || istype(temp.vars[v], /client)))
if(temp.vars.Find(v) && (istype(temp.vars[v], /datum) || isclient(temp.vars[v])))
temp = temp.vars[v]
else
break
+1 -1
View File
@@ -65,7 +65,7 @@
var/client/C
if(istext(whom))
C = get_client_by_ckey(whom)
else if(istype(whom,/client))
else if(isclient(whom))
C = whom
if(!C)
+2 -2
View File
@@ -281,7 +281,7 @@ GLOBAL_PROTECT(AdminProcCallSpamPrevention)
if(!SSticker)
alert("Wait until the game starts")
return
if(istype(M, /mob/living/carbon/human))
if(ishuman(M))
log_admin("[key_name(src)] has robotized [M.key].")
spawn(10)
M:Robotize()
@@ -452,7 +452,7 @@ GLOBAL_PROTECT(AdminProcCallSpamPrevention)
if(!SSticker)
alert("Wait until the game starts")
return
if(istype(M, /mob/living/carbon/human))
if(ishuman(M))
var/mob/living/carbon/human/H = M
if(H.wear_id)
var/obj/item/card/id/id = H.wear_id
+2 -2
View File
@@ -31,13 +31,13 @@ GLOBAL_PROTECT(VVmaint_only)
else if(ismob(var_value))
. = VV_MOB_REFERENCE
else if(isloc(var_value))
else if(isatom(var_value))
. = VV_ATOM_REFERENCE
else if(istype(var_value, /matrix))
. = VV_MATRIX
else if(istype(var_value,/client))
else if(isclient(var_value))
. = VV_CLIENT
else if(istype(var_value, /datum))
+1 -1
View File
@@ -36,7 +36,7 @@
L.Paralyse(10 SECONDS)
sleep(5) //so they black out before warping
M.loc = pick(GLOB.prisonwarp)
if(istype(M, /mob/living/carbon/human))
if(ishuman(M))
var/mob/living/carbon/human/prisoner = M
prisoner.equip_to_slot_or_del(new /obj/item/clothing/under/color/orange(prisoner), slot_w_uniform)
prisoner.equip_to_slot_or_del(new /obj/item/clothing/shoes/orange(prisoner), slot_shoes)