mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-29 16:38:37 +00:00
Fix IndexOutOfRangeException on startup
This commit is contained in:
parent
9c9b41ae04
commit
67fbd5ed5b
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ namespace LBPUnion.ProjectLighthouse
|
|||
{
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
if (args[0] == "--wait-for-debugger")
|
||||
if (args.Length != 0 && args[0] == "--wait-for-debugger")
|
||||
{
|
||||
Console.WriteLine("Waiting for a debugger to be attached...");
|
||||
while (!Debugger.IsAttached)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue