core/sourcemod.cpp
changeset 1096 8e11b2ebdc22
parent 1018 e466e7319a68
child 1142 13547d08e3a8
     1.1 --- a/core/sourcemod.cpp	Fri Jul 13 19:19:30 2007 +0000
     1.2 +++ b/core/sourcemod.cpp	Fri Jul 13 19:20:12 2007 +0000
     1.3 @@ -31,6 +31,7 @@
     1.4  #include "TimerSys.h"
     1.5  #include "MenuStyle_Valve.h"
     1.6  #include "MenuStyle_Radio.h"
     1.7 +#include "Database.h"
     1.8  
     1.9  SH_DECL_HOOK6(IServerGameDLL, LevelInit, SH_NOATTRIB, false, bool, const char *, const char *, const char *, const char *, bool, bool);
    1.10  SH_DECL_HOOK0_void(IServerGameDLL, LevelShutdown, SH_NOATTRIB, false);
    1.11 @@ -337,6 +338,8 @@
    1.12  
    1.13  void SourceModBase::GameFrame(bool simulating)
    1.14  {
    1.15 +	g_DBMan.RunFrame();
    1.16 +
    1.17  	/**
    1.18  	 * Note: This is all hardcoded rather than delegated to save
    1.19  	 * precious CPU cycles.