bad code, but tidier code

This commit is contained in:
S34NW
2021-04-21 23:42:20 +01:00
parent 11d46098cb
commit fbf958b6fc
15 changed files with 23 additions and 19 deletions
+1 -1
View File
@@ -368,7 +368,7 @@ GLOBAL_LIST_EMPTY(safes)
/obj/structure/safe/floor/Initialize()
. = ..()
var/turf/T = loc
if(!istype(T, /turf/simulated/floor/transparent))
if(!T.transparent_floor)
hide(T.intact)
/obj/structure/safe/floor/hide(intact)