Fix --mode= handling on injector arguments (#829)

This commit is contained in:
kizer 2022-05-12 17:34:58 +09:00 committed by GitHub
parent 8b7f9b58bf
commit bf1a525e4c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -454,7 +454,7 @@ namespace Dalamud.Injector
else if (args[i] == "-m")
mode = args[++i];
else if (args[i].StartsWith("--mode="))
gamePath = args[i].Split('=', 2)[1];
mode = args[i].Split('=', 2)[1];
else if (args[i].StartsWith("--handle-owner="))
handleOwner = IntPtr.Parse(args[i].Split('=', 2)[1]);
else if (args[i] == "--")