1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 15:20:48 -05:00

fixed misc issues and added stats page to webfront

This commit is contained in:
RaidMax
2017-10-03 18:17:35 -05:00
parent 4cddefd542
commit 9758e72f6b
26 changed files with 677 additions and 69 deletions

View File

@ -491,17 +491,17 @@ namespace IW4MAdmin
logfile = await this.GetDvarAsync<string>("g_log");
}
#if DEBUG
if (Environment.OSVersion.VersionString != "Microsoft Windows NT 6.2.9200.0")
//if (Environment.OSVersion.VersionString != "Microsoft Windows NT 6.2.9200.0")
{
basepath.Value = (GameName == Game.IW4) ?
@"\\tsclient\J\WIN7_10.25\MW2" :
@"\\tsclient\G\Program Files (x86)\Steam\SteamApps\common\Call of Duty 4";
}
else
{
basepath.Value = @"C:\MW2";
}
// else
// {
// basepath.Value = @"C:\MW2";
// }
#endif
string mainPath = (GameName == Game.IW4) ? "userraw" : "main";