Better monky throwing fix

now, actually compiles! There seems to be a lot else wrong with monkey inventories but eh
This commit is contained in:
sick-trigger
2013-05-03 04:44:23 +10:00
parent 2989961542
commit c6323eced1

View File

@@ -385,13 +385,13 @@
item.layer = initial(item.layer)
u_equip(item)
update_icons()
//if(src.client)
//src.client.screen -= item
if (istype(user, /mob/living/carbon/monkey))
item.loc = src.loc
//if(istype(item, /obj/item))
//item:dropped(src) // let it know it's been dropped
if (istype(usr, /mob/living/carbon/monkey)) //Check if a monkey is throwing. Modify/remove this line as required.
item.loc = src.loc
if(src.client)
src.client.screen -= item
if(istype(item, /obj/item))
item:dropped(src) // let it know it's been dropped
//actually throw it!
if (item)