Fix stairs initialize (#16124)

* Fixed stairs initialize

* spelling
This commit is contained in:
Fluffy
2023-03-27 15:44:07 +00:00
committed by GitHub
parent 7b7227fe7a
commit 0a0ec9e68c
2 changed files with 42 additions and 1 deletions
+1 -1
View File
@@ -218,7 +218,7 @@
var/turf/simulated/open/above = GetAbove(turf)
if(!above)
warning("Stair created without z-level above: ([loc.x], [loc.y], [loc.z])")
return qdel(src)
return INITIALIZE_HINT_QDEL
if(!istype(above))
above.ChangeToOpenturf()