Merge pull request #16525 from S34NW/glass_floors_2

Glass floors attempt 2
This commit is contained in:
variableundefined
2021-09-06 19:10:44 -05:00
committed by GitHub
39 changed files with 262 additions and 45 deletions
+2 -1
View File
@@ -368,7 +368,8 @@ GLOBAL_LIST_EMPTY(safes)
/obj/structure/safe/floor/Initialize()
. = ..()
var/turf/T = loc
hide(T.intact)
if(!T.transparent_floor)
hide(T.intact)
/obj/structure/safe/floor/hide(intact)
invisibility = intact ? INVISIBILITY_MAXIMUM : 0