Correct send rate in bot name

This commit is contained in:
Robin Rolf 2023-02-14 19:59:52 +01:00
parent dd2151b582
commit 1b4cc63c2e

View File

@ -67,10 +67,10 @@ public override void Start()
{
// set default sendRate, then let CmdLineArgs override
Application.targetFrameRate = 60;
((TestNTNetworkAuthenticator)authenticator).SetPlayername($"Bot[{sendRate}] ", true);
((SimpleWebTransport)Transport.active).sslEnabled = true;
((SimpleWebTransport)Transport.active).clientUseWss = true;
ProcessCmdLineArgs();
((TestNTNetworkAuthenticator)authenticator).SetPlayername($"Bot[{sendRate}] ", true);
StartClient();
}
}