// ============================================================ // YALootBoxes_MissionServer.c // Self-starts the lootbox manager on the server - no init.c edit // required. Lives in: scripts/5_Mission/ // // MissionServer exists/instantiates on the dedicated server only, // so this whole bootstrap is inherently server-side. It augments // whatever mission the map ships (via 'modded') instead of // replacing it, so it coexists with other mission mods. // ============================================================ modded class MissionServer { ref YALootBoxesManager m_YALootBoxes_Manager; override void OnInit() { super.OnInit(); m_YALootBoxes_Manager = new YALootBoxesManager(); m_YALootBoxes_Manager.Init(); } }