mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-19 11:05:03 +01:00
Lockbox now kicks user out upon locking
This commit is contained in:
@@ -24,6 +24,8 @@
|
||||
if(locked)
|
||||
icon_state = icon_locked
|
||||
to_chat(user, "<span class='warning'>You lock \the [src]!</span>")
|
||||
if(user.s_active)
|
||||
user.s_active.close(user)
|
||||
return
|
||||
else
|
||||
icon_state = icon_closed
|
||||
@@ -131,5 +133,5 @@
|
||||
|
||||
/obj/item/storage/lockbox/t4/New()
|
||||
..()
|
||||
for(var/i = 0, i < 3, i++)
|
||||
for(var/i in 0 to 3)
|
||||
new /obj/item/grenade/plastic/x4/thermite(src)
|
||||
Reference in New Issue
Block a user