mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-25 13:07:46 +01:00
Locking the RnD console prevents simple deconstruction
This commit is contained in:
@@ -169,7 +169,7 @@ proc/CallMaterialName(ID)
|
||||
return
|
||||
D.loc = src
|
||||
user << "<span class='notice'>You add the disk to the machine!</span>"
|
||||
if(istype(D, /obj/item/weapon/screwdriver) && islocked())
|
||||
if(istype(D, /obj/item/weapon/screwdriver) && islocked() && !(stat & BROKEN))
|
||||
user << "<span class='warning'>This console is locked; Unlock it first</span>"
|
||||
else
|
||||
..()
|
||||
|
||||
Reference in New Issue
Block a user