mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-01-05 23:13:06 +00:00
[MIRROR] Initialize fixing (#10335)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
2e725a0727
commit
ce2446922e
@@ -37,7 +37,7 @@ GLOBAL_LIST_EMPTY(all_waypoints)
|
||||
icon_screen = "adv_helm_screen"
|
||||
light_color = "#70ffa0"
|
||||
|
||||
/obj/machinery/computer/ship/helm/Initialize()
|
||||
/obj/machinery/computer/ship/helm/Initialize(mapload)
|
||||
. = ..()
|
||||
get_known_sectors()
|
||||
|
||||
@@ -286,7 +286,7 @@ GLOBAL_LIST_EMPTY(all_waypoints)
|
||||
circuit = /obj/item/circuitboard/nav
|
||||
var/datum/tgui_module/ship/nav/nav_tgui
|
||||
|
||||
/obj/machinery/computer/ship/navigation/Initialize()
|
||||
/obj/machinery/computer/ship/navigation/Initialize(mapload)
|
||||
. = ..()
|
||||
nav_tgui = new(src)
|
||||
|
||||
|
||||
@@ -81,7 +81,7 @@
|
||||
/obj/machinery/atmospherics/unary/engine/CanPass(atom/movable/mover, turf/target, height=0, air_group=0)
|
||||
return 0
|
||||
|
||||
/obj/machinery/atmospherics/unary/engine/Initialize()
|
||||
/obj/machinery/atmospherics/unary/engine/Initialize(mapload)
|
||||
. = ..()
|
||||
controller = new(src)
|
||||
update_nearby_tiles(need_rebuild=1)
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
var/burn_cost = 7500
|
||||
var/generated_thrust = 2.5
|
||||
|
||||
/obj/machinery/ion_engine/Initialize()
|
||||
/obj/machinery/ion_engine/Initialize(mapload)
|
||||
. = ..()
|
||||
controller = new(src)
|
||||
add_glow()
|
||||
@@ -87,4 +87,4 @@
|
||||
req_components = list(
|
||||
/obj/item/stack/cable_coil = 2,
|
||||
/obj/item/stock_parts/matter_bin = 1,
|
||||
/obj/item/stock_parts/capacitor = 2)
|
||||
/obj/item/stock_parts/capacitor = 2)
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
var/obj/effect/overlay/vis/vector
|
||||
render_map = TRUE
|
||||
|
||||
/obj/effect/overmap/visitable/ship/Initialize()
|
||||
/obj/effect/overmap/visitable/ship/Initialize(mapload)
|
||||
. = ..()
|
||||
min_speed = round(min_speed, SHIP_MOVE_RESOLUTION)
|
||||
max_speed = round(max_speed, SHIP_MOVE_RESOLUTION)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/obj/effect/overmap/visitable/ship/Initialize()
|
||||
/obj/effect/overmap/visitable/ship/Initialize(mapload)
|
||||
. = ..()
|
||||
listening_objects += src
|
||||
|
||||
|
||||
Reference in New Issue
Block a user