refactor/ci: enforce mapload in Initialize args (#26878)

* refactor/ci: enforce mapload in Initialize args

* add new missing mapload arg

* add yet another missing mapload arg

* Update code/modules/power/engines/singularity/particle_accelerator/particle.dm

Signed-off-by: DGamerL <108773801+DGamerL@users.noreply.github.com>

---------

Signed-off-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
This commit is contained in:
warriorstar-orion
2024-10-23 19:07:46 +00:00
committed by GitHub
co-authored by DGamerL
parent 766816954d
commit 9465b565b8
111 changed files with 168 additions and 160 deletions
@@ -38,7 +38,7 @@ This spawner places pipe leading up to the interior door, you will need to finis
var/one_door_interior //For square airlocks, if you set this then a) only one door will spawn, and b) you can choose if the door should go opposite to how it normally goes. Please use the define
var/one_door_exterior //See above
/obj/effect/spawner/airlock/Initialize()
/obj/effect/spawner/airlock/Initialize(mapload)
..()
forceMove(locate(x + 1, y + 1, z)) //Needs to move because our icon_state implies we are one turf to the northeast, when we're not
opposite_interior_direction = turn(interior_direction, 180) //Do it this way (instead of setting it directly) to avoid code mishaps
@@ -8,7 +8,7 @@
)
record_spawn = TRUE
/obj/effect/spawner/random/dice/Initialize()
/obj/effect/spawner/random/dice/Initialize(mapload)
. = ..()
spawn_loot_count = rand(1, 2)