From 088eee3d963ba10dd9fdd12e28d3e1648746c0b4 Mon Sep 17 00:00:00 2001 From: Arokha Sieyes Date: Fri, 25 May 2018 13:29:30 -0400 Subject: [PATCH] SYNC: Compileability fixes --- code/modules/clothing/under/accessories/holster.dm | 3 ++- .../reagents/Chemistry-Reagents/Chemistry-Reagents-Medicine.dm | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/clothing/under/accessories/holster.dm b/code/modules/clothing/under/accessories/holster.dm index 1929815658..408c5af043 100644 --- a/code/modules/clothing/under/accessories/holster.dm +++ b/code/modules/clothing/under/accessories/holster.dm @@ -5,13 +5,14 @@ slot = ACCESSORY_SLOT_TORSO //Legacy/balance purposes concealed_holster = 1 var/obj/item/holstered = null + var/list/can_hold //VOREStation Add /obj/item/clothing/accessory/holster/proc/holster(var/obj/item/I, var/mob/living/user) if(holstered && istype(user)) user << "There is already \a [holstered] holstered here!" return //VOREStation Edit - Machete sheath support - if (can_hold) + if (LAZYLEN(can_hold)) if(!is_type_in_list(I,can_hold)) to_chat(user, "[I] won't fit in [src]!") return diff --git a/code/modules/reagents/Chemistry-Reagents/Chemistry-Reagents-Medicine.dm b/code/modules/reagents/Chemistry-Reagents/Chemistry-Reagents-Medicine.dm index 5d179888c2..9de15b6915 100644 --- a/code/modules/reagents/Chemistry-Reagents/Chemistry-Reagents-Medicine.dm +++ b/code/modules/reagents/Chemistry-Reagents/Chemistry-Reagents-Medicine.dm @@ -701,7 +701,6 @@ //One of the levofloxacin side effects is 'spontaneous tendon rupture', which I'll immitate here. 1:1000 chance, so, pretty darn rare. if(ishuman(M) && rand(1,10000) == 1) //VOREStation Edit (more rare) - var/mob/living/carbon/human/H = M var/obj/item/organ/external/eo = pick(H.organs) //Misleading variable name, 'organs' is only external organs eo.fracture()