diff --git a/Assets/Scripts/Net/Net.cs b/Assets/Scripts/Net/Net.cs index f354e50..c302d86 100644 --- a/Assets/Scripts/Net/Net.cs +++ b/Assets/Scripts/Net/Net.cs @@ -21,7 +21,9 @@ namespace NeonTea.Quakeball.Net { } public static void Quit() { - Singleton.Instance.Stop(); + if (Singleton.Instance != null) { + Singleton.Instance.Stop(); + } } [RuntimeInitializeOnLoadMethod]