mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 19:10:32 +00:00
Correct send rate in bot name
This commit is contained in:
parent
dd2151b582
commit
1b4cc63c2e
@ -67,10 +67,10 @@ public override void Start()
|
|||||||
{
|
{
|
||||||
// set default sendRate, then let CmdLineArgs override
|
// set default sendRate, then let CmdLineArgs override
|
||||||
Application.targetFrameRate = 60;
|
Application.targetFrameRate = 60;
|
||||||
((TestNTNetworkAuthenticator)authenticator).SetPlayername($"Bot[{sendRate}] ", true);
|
|
||||||
((SimpleWebTransport)Transport.active).sslEnabled = true;
|
((SimpleWebTransport)Transport.active).sslEnabled = true;
|
||||||
((SimpleWebTransport)Transport.active).clientUseWss = true;
|
((SimpleWebTransport)Transport.active).clientUseWss = true;
|
||||||
ProcessCmdLineArgs();
|
ProcessCmdLineArgs();
|
||||||
|
((TestNTNetworkAuthenticator)authenticator).SetPlayername($"Bot[{sendRate}] ", true);
|
||||||
StartClient();
|
StartClient();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user