mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-27 10:02:12 +00:00
* Initialize and LateInitialize runs correctly at round start (#54594) I've been pulling my hair out on this one. Ever since I started my ntnet project, I could never get LateInitalize to work right. Apparently it has never worked right. How it was set up before on server start Station map loads, Does NOT run Initialize(mapload = TRUE) Generates space, lavaland/icebox ruins Loads a ruin, DOES run Initialize(mapload = TRUE) EXCEPT on areas End of mapping system Atom system Initialized and it checks and runs Initialize(mapload = TRUE) on world You see the issue? Initialize and by extension LateInitialize is run in blocks. Worst, LateInitialize is run on turfs FIRST in ruins BEFORE Initialize is ever run on the other atoms. While there isn't much in Area, there is map_generator so I am sure it caused some grief for map creators. The NEW order now is Station map loads, Does NOT run Initialize(mapload = TRUE) Generates space, lavaland/icebox ruins Loads a ruin, Does NOT run Initialize(mapload = TRUE) End of mapping system Atom system Initialized and it checks and runs Initialize(mapload = TRUE) on world Also if you dynamicly load a map, like snowdin or such, it will Initialize all atoms at once and then run LateInitialize properly * Initialize and LateInitialize runs correctly at round start Co-authored-by: WarlockD <warlockd@gmail.com>