Close the UI when you lock a lockbox

Fixes #17407
This commit is contained in:
MrPerson
2016-05-11 01:47:47 -07:00
parent 3dd8f29a9a
commit bb39eefcd9
@@ -27,6 +27,7 @@
if(locked)
icon_state = icon_locked
user << "<span class='danger'>You lock the [src.name]!</span>"
close_all()
return
else
icon_state = icon_closed