1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-07 21:58:06 -05:00

Quick fix for multiple server setup

This commit is contained in:
RaidMax 2015-03-09 20:34:31 -05:00
parent fea331cabf
commit b745ce386c

View File

@ -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();
}