more inits without returns (#16843)

This commit is contained in:
Kashargul
2025-01-05 18:00:45 +01:00
committed by GitHub
parent 6fd4953c56
commit 3c1af288e0
9 changed files with 10 additions and 2 deletions
+1
View File
@@ -77,6 +77,7 @@
. += span_notice("It will open in [ourtime] minutes!")
/obj/structure/timer_door/Initialize()
. = ..()
START_PROCESSING(SSobj, src)
start_time = world.time
+1 -1
View File
@@ -12,13 +12,13 @@
var/datum/tgui_module/appearance_changer/mirror/M
/obj/structure/mirror/Initialize(mapload, var/dir, var/building = 0)
. = ..()
M = new(src, null)
if(building)
glass = 0
icon_state = "mirror_frame"
pixel_x = (dir & 3)? 0 : (dir == 4 ? -28 : 28)
pixel_y = (dir & 3)? (dir == 1 ? -30 : 30) : 0
return
/obj/structure/mirror/Destroy()
QDEL_NULL(M)
@@ -27,6 +27,7 @@
interaction_message = span_notice("The prismatic turret seems to be able to rotate.")
/obj/structure/prop/prism/Initialize()
. = ..()
if(degrees_from_north)
animate(src, transform = turn(NORTH, degrees_from_north), time = 3)
@@ -252,6 +252,7 @@
icon_state = "stamper_on"
/obj/structure/prop/machine/stamper/starts_on/Initialize()
. = ..()
add_overlay("stamper_proc")
add_overlay("stamper_but")
@@ -580,6 +581,7 @@
var/contents_original_pixel_y = 0
/obj/structure/prop/machine/nt_pod/Initialize(mapload)
. = ..()
// Our non-map-preview state
icon_state = "nt_pod"
+1
View File
@@ -23,6 +23,7 @@ FLOOR SAFES
/obj/structure/safe/Initialize()
. = ..()
tumbler_1_pos = rand(0, 72)
tumbler_1_open = rand(0, 72)