Do not disconnect when networking has not been started yet
This commit is contained in:
parent
b7dd213e3a
commit
145bb2e8bf
@ -183,7 +183,8 @@ namespace Passer {
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
private void OnDestroy() {
|
private void OnDestroy() {
|
||||||
starter.StopClient();
|
if (starter != null)
|
||||||
|
starter.StopClient();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user