Skip to content

Commit

Permalink
Defer the asteroid magnet's initial map generation to LateInitialize (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Absolucy authored Feb 2, 2025
1 parent e0f4236 commit 7cc446c
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,10 @@
else
available_templates[roid] = 100
templates_on_map = list()
return INITIALIZE_HINT_LATELOAD

/obj/machinery/asteroid_magnet/LateInitialize()
. = ..()
GenerateMap()

/obj/machinery/asteroid_magnet/proc/ping(coords_x, coords_y)
Expand Down

0 comments on commit 7cc446c

Please sign in to comment.