fix: quota maintain time is resetted on changelevel.

fix: crash without metamod after few map changes.
fix: move sprites precache into the correct place.
fix: move initialization stuff to post-ServerActivate.
This commit is contained in:
ds 2020-11-08 01:20:12 +03:00
commit 17b9200195
4 changed files with 44 additions and 47 deletions

View file

@ -673,6 +673,11 @@ public:
static DETOUR_RETURN CR_STDCALL replacement (SharedLibrary::Handle module, const char *function) {
return EntityLinkage::instance ().lookup (module, function);
}
public:
void clearExportTable () {
m_exports.clear ();
}
};
// expose globals