mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-01-05 23:13:06 +00:00
Runtime fix for trying to use an empty hand on a secure briefcase.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5436 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -186,11 +186,9 @@
|
||||
usr << "\red [src] is locked and cannot be opened!"
|
||||
else if ((src.loc == user) && (!src.locked))
|
||||
playsound(src.loc, "rustle", 50, 1, -5)
|
||||
if (user.s_active == src)
|
||||
if (user.s_active)
|
||||
user.s_active.close(user) //Close and re-open
|
||||
src.show_to(user)
|
||||
else
|
||||
user.s_active.close(user) //Just close
|
||||
src.show_to(user)
|
||||
else
|
||||
..()
|
||||
for(var/mob/M in range(1))
|
||||
|
||||
Reference in New Issue
Block a user