Fix Net.Quit

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

View File

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