mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-12 15:45:25 +01:00
[FIX] Guncabinet overlay fix (#27107)
* Draw guns before the doors * Added a comment. --------- Co-authored-by: adrermail@gmail.com <adrermail@gmail.com>
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
return TRUE
|
||||
|
||||
/obj/structure/closet/secure_closet/guncabinet/update_overlays()
|
||||
. = ..()
|
||||
. = list()
|
||||
if(!opened)
|
||||
var/lasers = 0
|
||||
var/ballistics = 0
|
||||
@@ -48,6 +48,7 @@
|
||||
. += gun
|
||||
if(broken)
|
||||
. += "off"
|
||||
. += ..() // Parent call at the end instead of the beginning because we need the gun overlays to be drawn first, then the door.
|
||||
|
||||
/obj/structure/closet/secure_closet/guncabinet/cc
|
||||
req_access = list(ACCESS_CENT_SPECOPS_COMMANDER)
|
||||
|
||||
Reference in New Issue
Block a user