mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 19:10:32 +00:00
fixed /ninja switch
This commit is contained in:
parent
fbc00c1ee9
commit
346aaabc02
@ -103,7 +103,7 @@ void ProcessCmdLineArgs()
|
|||||||
((SimpleWebTransport)Transport.active).sslEnabled = true;
|
((SimpleWebTransport)Transport.active).sslEnabled = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (arg.Equals("/ninja:", StringComparison.InvariantCultureIgnoreCase))
|
if (arg.StartsWith("/ninja:", StringComparison.InvariantCultureIgnoreCase))
|
||||||
if (uint.TryParse(arg.Remove(0, 7), out uint multiplier))
|
if (uint.TryParse(arg.Remove(0, 7), out uint multiplier))
|
||||||
{
|
{
|
||||||
((TestNTNetworkAuthenticator)authenticator).SetNinja(true);
|
((TestNTNetworkAuthenticator)authenticator).SetNinja(true);
|
||||||
|
Loading…
Reference in New Issue
Block a user