fixed /ninja switch

This commit is contained in:
MrGadget1024 2023-02-18 09:31:26 -05:00
parent fbc00c1ee9
commit 346aaabc02

View File

@ -103,7 +103,7 @@ void ProcessCmdLineArgs()
((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))
{
((TestNTNetworkAuthenticator)authenticator).SetNinja(true);