Fixes catwalk building doubling up lattices (#52079)

This commit is contained in:
ShizCalev
2020-07-12 13:29:27 +02:00
committed by GitHub
parent 9e6ab16c7d
commit ff71930656
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -97,6 +97,7 @@ GLOBAL_DATUM_INIT(openspace_backdrop_one_for_all, /atom/movable/openspace_backdr
return
if(L)
if(R.use(1))
qdel(L)
to_chat(user, "<span class='notice'>You construct a catwalk.</span>")
playsound(src, 'sound/weapons/genhit.ogg', 50, TRUE)
new/obj/structure/lattice/catwalk(src)
+1
View File
@@ -115,6 +115,7 @@
return
if(L)
if(R.use(1))
qdel(L)
to_chat(user, "<span class='notice'>You construct a catwalk.</span>")
playsound(src, 'sound/weapons/genhit.ogg', 50, TRUE)
new/obj/structure/lattice/catwalk(src)