mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-15 05:04:15 +01:00
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:
commit
d01fa22e49
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ namespace Dalamud.Injector {
|
||||||
|
|
||||||
|
|
||||||
var pid = -1;
|
var pid = -1;
|
||||||
if (args.Length == 1) {
|
if (args.Length >= 1) {
|
||||||
pid = int.Parse(args[0]);
|
pid = int.Parse(args[0]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue