mirror of
https://github.com/sp-tarkov/patcher.git
synced 2025-02-13 05:10:47 -05:00
fix args out of range exception
This commit is contained in:
parent
434c81e2b0
commit
0e3a82a670
@ -19,7 +19,7 @@ namespace PatchClient
|
|||||||
{
|
{
|
||||||
bool autoClose = false;
|
bool autoClose = false;
|
||||||
|
|
||||||
if(desktop.Args != null && desktop.Args[0].ToLower() == "autoclose")
|
if(desktop.Args != null && desktop.Args.Length >= 1 && desktop.Args[0]?.ToLower() == "autoclose")
|
||||||
autoClose = true;
|
autoClose = true;
|
||||||
|
|
||||||
desktop.MainWindow = new MainWindow
|
desktop.MainWindow = new MainWindow
|
||||||
|
BIN
Patcher/PatchGenerator/Resources/PatchClient.exe
(Stored with Git LFS)
BIN
Patcher/PatchGenerator/Resources/PatchClient.exe
(Stored with Git LFS)
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user