Merge pull request #138 from FairyScript/fix-pid-arg

fix: Injector pid arg(arg[0]) will not be used when args' length greater than 1
This commit is contained in:
goaaats 2020-07-16 23:32:48 +02:00 committed by GitHub
commit d01fa22e49
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,7 +33,7 @@ namespace Dalamud.Injector {
var pid = -1;
if (args.Length == 1) {
if (args.Length >= 1) {
pid = int.Parse(args[0]);
}