We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 123db0b commit 16af6daCopy full SHA for 16af6da
AquaMai.BepInEx/Plugin.cs
@@ -12,8 +12,13 @@ public class Plugin : BaseUnityPlugin
12
13
public readonly static ManualLogSource LogSource = global::BepInEx.Logging.Logger.CreateLogSource(BuildInfo.Name);
14
15
+ private static bool _isInitialized = false;
16
+
17
public void Awake()
18
{
19
+ if (_isInitialized) return;
20
+ _isInitialized = true;
21
22
var harmony = new HarmonyLib.Harmony(PluginName);
23
24
Common.AquaMai.Bootstrap(new BootstrapOptions
0 commit comments