fix pid arg

*fix: when program args more than 1, the pid (arg[0]) will not be used.
This commit is contained in:
FairyScript 2020-07-14 21:37:51 +08:00 committed by GitHub
parent 7481972915
commit d4b5262b28
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]);
}