mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2025-02-24 19:27:16 +00:00
improvement
This commit is contained in:
parent
a135d2a8bd
commit
3aff8be074
1 changed files with 2 additions and 1 deletions
|
@ -27,9 +27,10 @@ namespace SanAndreasUnity.Net
|
|||
|
||||
|
||||
|
||||
void Awake ()
|
||||
NetManager ()
|
||||
{
|
||||
// assign implementation in NetUtils
|
||||
// do this in ctor, because it may be too late in Awake() - server can theoretically start before our Awake() is called
|
||||
NetUtils.IsServerImpl = () => NetStatus.IsServer;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue