mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-17 02:54:44 +01:00
[MIRROR] Discourage dumping init shit in the mc [MDB IGNORE] (#21611)
* Discourage dumping init shit in the mc (#75826) Way back in the day, MC's init and new code used to contain 300 lines between them. I do not want to go back. * Discourage dumping init shit in the mc --------- Co-authored-by: Kyle Spier-Swenson <kyleshome@gmail.com>
This commit is contained in:
+6
-1
@@ -47,10 +47,15 @@ GLOBAL_VAR(restart_counter)
|
||||
*
|
||||
* GOT IT MEMORIZED?
|
||||
* - Dominion/Cyberboss
|
||||
*
|
||||
* Where to put init shit quick guide:
|
||||
* If you need it to happen before the mc is created: world/Genesis.
|
||||
* If you need it to happen last: world/New(),
|
||||
* Otherwise, in a subsystem preinit or init. Subsystems can set an init priority.
|
||||
*/
|
||||
|
||||
/**
|
||||
* THIS !!!SINGLE!!! PROC IS WHERE ANY FORM OF INIITIALIZATION THAT CAN'T BE PERFORMED IN MASTER/NEW() IS DONE
|
||||
* THIS !!!SINGLE!!! PROC IS WHERE ANY FORM OF INIITIALIZATION THAT CAN'T BE PERFORMED IN SUBSYSTEMS OR WORLD/NEW IS DONE
|
||||
* NOWHERE THE FUCK ELSE
|
||||
* I DON'T CARE HOW MANY LAYERS OF DEBUG/PROFILE/TRACE WE HAVE, YOU JUST HAVE TO DEAL WITH THIS PROC EXISTING
|
||||
* I'M NOT EVEN GOING TO TELL YOU WHERE IT'S CALLED FROM BECAUSE I'M DECLARING THAT FORBIDDEN KNOWLEDGE
|
||||
|
||||
Reference in New Issue
Block a user