SYNC: Compileability fixes

This commit is contained in:
Arokha Sieyes
2018-05-25 13:29:30 -04:00
parent 6b42df0685
commit 088eee3d96
2 changed files with 2 additions and 2 deletions
@@ -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 << "<span class='warning'>There is already \a [holstered] holstered here!</span>"
return
//VOREStation Edit - Machete sheath support
if (can_hold)
if (LAZYLEN(can_hold))
if(!is_type_in_list(I,can_hold))
to_chat(user, "<span class='warning'>[I] won't fit in [src]!</span>")
return
@@ -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()