Revert "[MIRROR] /atom New() => Initialize() [MDB IGNORE]"

This commit is contained in:
Novacat
2022-08-27 08:49:56 -04:00
committed by GitHub
parent 0be7af4774
commit 1aa4c73e8d
599 changed files with 3329 additions and 4983 deletions
+6 -3
View File
@@ -22,14 +22,17 @@
icon_modifier = "grey_"
icon_state = "grey_railing0"
/obj/structure/railing/Initialize(var/ml, constructed = 0)
. = ..()
/obj/structure/railing/New(loc, constructed = 0)
..()
// TODO - "constructed" is not passed to us. We need to find a way to do this safely.
if (constructed) // player-constructed railings
anchored = FALSE
if(climbable)
verbs += /obj/structure/proc/climb_on
if(anchored)
/obj/structure/railing/Initialize()
. = ..()
if(src.anchored)
update_icon(0)
/obj/structure/railing/Destroy()