Kids, don't copy and paste
This commit is contained in:
parent
920e5453da
commit
e646f9eb40
@ -634,6 +634,8 @@ namespace IW4MAdmin
|
|||||||
count++;
|
count++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
count = 0;
|
||||||
|
|
||||||
if (oneLog == -1)
|
if (oneLog == -1)
|
||||||
{
|
{
|
||||||
Log.Write("Could not get iw4m_onelog value", Log.Level.Debug);
|
Log.Write("Could not get iw4m_onelog value", Log.Level.Debug);
|
||||||
@ -648,7 +650,15 @@ namespace IW4MAdmin
|
|||||||
Website = "this server's website";
|
Website = "this server's website";
|
||||||
|
|
||||||
int logSync = -1;
|
int logSync = -1;
|
||||||
Int32.TryParse(getDvar("g_logSync").current, out oneLog);
|
while (count < 15)
|
||||||
|
{
|
||||||
|
Int32.TryParse(getDvar("g_logSync").current, out logSync);
|
||||||
|
if (logSync == 1)
|
||||||
|
break;
|
||||||
|
count++;
|
||||||
|
}
|
||||||
|
|
||||||
|
count = 0;
|
||||||
|
|
||||||
if (logSync == 0)
|
if (logSync == 0)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user