Join declaration and assignment

This commit is contained in:
Cinder Roxley
2024-06-30 18:10:23 -05:00
parent 7cc5637808
commit aa07d85591
11 changed files with 36 additions and 63 deletions

View File

@@ -42,15 +42,13 @@ namespace PacketDump
[STAThread]
static void Main(string[] args)
{
GridClient client;
if (args.Length != 4)
if (args.Length != 4)
{
Console.WriteLine("Usage: PacketDump [firstname] [lastname] [password] [seconds (0 for infinite)]");
return;
}
client = new GridClient();
var client = new GridClient();
// Turn off some unnecessary things
client.Settings.MULTIPLE_SIMS = false;
// Throttle packets that we don't want all the way down