mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-25 05:51:56 +01:00
Reduce more compiles
This commit is contained in:
@@ -378,7 +378,7 @@
|
||||
src << browse(null, t1)
|
||||
|
||||
if(href_list["item"])
|
||||
if (handle_strip(href_list["item"],usr))
|
||||
handle_strip(href_list["item"],usr)
|
||||
|
||||
if(href_list["criminal"])
|
||||
if(hasHUD(usr,"security"))
|
||||
|
||||
@@ -1105,15 +1105,6 @@ var/list/wierd_mobs_inclusive = list( /mob/living/simple_animal/construct,
|
||||
else
|
||||
return "its"//Something went wrong
|
||||
|
||||
|
||||
/mob/proc/isHoldingShield()
|
||||
var/obj/item/test = l_hand
|
||||
if (istype(test, /obj/item) && test.IsShield())
|
||||
return 1
|
||||
test = r_hand
|
||||
if (istype(test, /obj/item) && test.IsShield())
|
||||
return 1
|
||||
return 0
|
||||
#undef SAFE_PERP
|
||||
|
||||
/mob/proc/get_multitool(var/obj/item/device/multitool/P)
|
||||
|
||||
Reference in New Issue
Block a user