Don't enable FileExists hook (SendFile forward) on TF2 servers with Replay. (#512)

It will crash. See PR #493 for details.
This commit is contained in:
Nicholas Hastings
2016-05-19 19:11:28 -04:00
parent 57c6e09fcf
commit 5edc46c994
3 changed files with 24 additions and 0 deletions
+1
View File
@@ -313,6 +313,7 @@ void SDKTools::OnCoreMapStart(edict_t *pEdictList, int edictCount, int clientMax
{
InitTeamNatives();
GetResourceEntity();
g_Hooks.OnMapStart();
}
bool SDKTools::QueryRunning(char *error, size_t maxlength)