make OnModStart addon patches work

This commit is contained in:
_nebula 2023-07-04 20:05:49 +01:00
parent 2ad07641f1
commit 7dfbba52c9

View File

@ -167,6 +167,7 @@ public class QSBCore : ModBehaviour
// init again to get addon patches
QSBPatchManager.Init();
QSBPatchManager.DoPatchType(QSBPatchTypes.OnModStart);
MenuApi = ModHelper.Interaction.TryGetModApi<IMenuAPI>(ModHelper.Manifest.Dependencies[0]);