mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-03 22:13:24 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user