TG: - Fixed the bug where a belt which spawned on you would not display it's

contents until dropped.
Revision: r3634
Author: 	 baloh.matevz
This commit is contained in:
Erthilo
2012-05-21 20:40:55 +01:00
parent 7fd99c7d3a
commit 552fe3040e
2 changed files with 0 additions and 15 deletions
-4
View File
@@ -1,8 +1,4 @@
/obj/item/weapon/storage/backpack/MouseDrop(obj/over_object as obj)
// if (src.loc != usr)
// return
// if ((istype(usr, /mob/living/carbon/human) || (ticker && ticker.mode.name == "monkey")))
if (ishuman(usr) || ismonkey(usr)) //so monkeys can take off their backpacks -- Urist
var/mob/M = usr
if (!( istype(over_object, /obj/screen) ))
-11
View File
@@ -37,17 +37,6 @@
return
attack_hand(mob/user as mob)
src.add_fingerprint(user)
if(src.loc == user)
playsound(src.loc, "rustle", 50, 1, -5)
if (user.s_active)
user.s_active.close(user)
src.show_to(user)
else
return ..()
/obj/item/weapon/storage/belt/utility
name = "tool-belt" //Carn: utility belt is nicer, but it bamboozles the text parsing.