From b745ce386c1b727081789e4de4b4ca491ba821cc Mon Sep 17 00:00:00 2001 From: RaidMax Date: Mon, 9 Mar 2015 20:34:31 -0500 Subject: [PATCH] Quick fix for multiple server setup --- Admin/Main.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Admin/Main.cs b/Admin/Main.cs index 649116605..b1c8f3be4 100644 --- a/Admin/Main.cs +++ b/Admin/Main.cs @@ -29,10 +29,10 @@ namespace IW4MAdmin file Config = new file("config\\servers.cfg"); String[] SV_CONF = Config.readAll(); - if (SV_CONF == null || SV_CONF.Length < 1) + if (SV_CONF == null || SV_CONF.Length < 1 || SV_CONF[0] == String.Empty) { setupConfig(); - SV_CONF = new file("config\\servers.cfg").getParameters(3); + SV_CONF = new file("config\\servers.cfg").readAll(); }