mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-16 05:02:18 +00:00
/atom New() => Initialize() [MDB IGNORE] (#8298)
* Find and replace argless atom New() to Initialize(). * Manual replacement of no-arg New() to Initialize(). * Manually replacing remaining New() overrides. * Fixing linter issues with now-removed New() args. * Tidying area init overrides. * Porting Neb's atom subsystem. * Trying to isolate init problems. * Adjusting Init code post-test. * Merging duplicate Initialize() procs. * Merge resolution.
This commit is contained in:
@@ -28,8 +28,8 @@
|
||||
// Proc: New()
|
||||
// Parameters: None
|
||||
// Description: Automatically assigns name according to ID tag.
|
||||
/obj/machinery/power/sensor/New()
|
||||
..()
|
||||
/obj/machinery/power/sensor/Initialize()
|
||||
. = ..()
|
||||
auto_set_name()
|
||||
/obj/machinery/power/sensor/Initialize()
|
||||
. = ..()
|
||||
|
||||
@@ -37,8 +37,8 @@
|
||||
..()
|
||||
|
||||
// On creation automatically connects to active sensors. This is delayed to ensure sensors already exist.
|
||||
/obj/machinery/computer/power_monitor/New()
|
||||
..()
|
||||
/obj/machinery/computer/power_monitor/Initialize()
|
||||
. = ..()
|
||||
power_monitor = new(src)
|
||||
|
||||
// On user click opens the UI of this computer.
|
||||
|
||||
Reference in New Issue
Block a user