mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-21 03:56:47 +01:00
Revert "[MIRROR] /atom New() => Initialize() [MDB IGNORE]"
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user