mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-31 07:58:22 +01:00
Revert "[MIRROR] /atom New() => Initialize() [MDB IGNORE]"
This commit is contained in:
@@ -8,3 +8,5 @@
|
||||
* elevator shaft in properly before runtime, but ultimately you're just avoiding a
|
||||
* bunch of ChangeTurf() calls.
|
||||
*/
|
||||
|
||||
var/list/turbolifts = list()
|
||||
@@ -29,9 +29,9 @@
|
||||
user.visible_message("<b>\The [user]</b> presses the lift button.")
|
||||
|
||||
|
||||
/obj/structure/lift/Initialize(var/ml, var/datum/turbolift/_lift)
|
||||
/obj/structure/lift/New(var/newloc, var/datum/turbolift/_lift)
|
||||
lift = _lift
|
||||
. = ..(ml)
|
||||
return ..(newloc)
|
||||
|
||||
/obj/structure/lift/attack_ai(var/mob/user)
|
||||
return attack_hand(user)
|
||||
|
||||
@@ -14,12 +14,16 @@
|
||||
|
||||
var/list/areas_to_use = list()
|
||||
|
||||
/obj/turbolift_map_holder/Initialize()
|
||||
..()
|
||||
return INITIALIZE_HINT_LATELOAD
|
||||
/obj/turbolift_map_holder/Destroy()
|
||||
turbolifts -= src
|
||||
return ..()
|
||||
|
||||
/obj/turbolift_map_holder/LateInitialize()
|
||||
/obj/turbolift_map_holder/New()
|
||||
turbolifts += src
|
||||
..()
|
||||
|
||||
/obj/turbolift_map_holder/Initialize()
|
||||
. = ..()
|
||||
// Create our system controller.
|
||||
var/datum/turbolift/lift = new()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user