2
0
Fork 0
mirror of https://github.com/GTA-ASM/SanAndreasUnity synced 2025-02-24 11:17:11 +00:00

improvement

This commit is contained in:
in0finite 2019-06-24 02:01:32 +02:00
parent a135d2a8bd
commit 3aff8be074

View file

@ -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;
}