Fix Net.Quit

This commit is contained in:
Sofia 2020-08-07 05:36:20 +03:00
parent 550b42bc95
commit 98055d7711

View File

@ -21,7 +21,9 @@ namespace NeonTea.Quakeball.Net {
} }
public static void Quit() { public static void Quit() {
Singleton.Instance.Stop(); if (Singleton.Instance != null) {
Singleton.Instance.Stop();
}
} }
[RuntimeInitializeOnLoadMethod] [RuntimeInitializeOnLoadMethod]