mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-22 04:24:20 +01:00
Fix #384 - Fridges can be opened while welded shut. Also discovered this extended to secure lockers.
Conflicts: code/game/objects/structures/crates_lockers/closets/secure/secure_closets.dm html/changelog.html
This commit is contained in:
@@ -17,6 +17,8 @@
|
||||
health = 200
|
||||
|
||||
/obj/structure/closet/secure_closet/can_open()
|
||||
if(!..())
|
||||
return 0
|
||||
if(src.locked)
|
||||
return 0
|
||||
return ..()
|
||||
|
||||
Reference in New Issue
Block a user