Do not disconnect when networking has not been started yet

This commit is contained in:
Pascal Serrarens 2022-02-24 16:50:35 +01:00
parent b7dd213e3a
commit 145bb2e8bf

View File

@ -183,7 +183,8 @@ namespace Passer {
} }
#endif #endif
private void OnDestroy() { private void OnDestroy() {
starter.StopClient(); if (starter != null)
starter.StopClient();
} }
} }