Fix Net.Quit
This commit is contained in:
parent
550b42bc95
commit
98055d7711
@ -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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user