- Fixed issue 798

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4453 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
baloh.matevz
2012-08-17 02:04:22 +00:00
parent 852b838e4e
commit bdd6324d9a
@@ -87,11 +87,11 @@
src.icon_state = src.icon_opened
src.opened = 1
else
user << "<span class='notice'>The locker is welded shut!</span>"
user << "<span class='notice'>The locker is locked!</span>"
if(world.time > lastbang+5)
lastbang = world.time
for(var/mob/M in hearers(src, null))
M << text("<FONT size=[]>BANG, bang!</FONT>", max(0, 5 - get_dist(src, M)))
M << "<FONT size=[max(0, 5 - get_dist(src, M))]>BANG, bang!</FONT>"
return
/obj/structure/closet/secure_closet/attack_hand(mob/user as mob)