mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-13 12:14:16 +01:00
fix pid arg
*fix: when program args more than 1, the pid (arg[0]) will not be used.
This commit is contained in:
parent
7481972915
commit
d4b5262b28
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