mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2025-01-27 06:07:56 +03:00
Disable vscript entity listeners on level shutdown
This commit is contained in:
parent
3f2f562a1e
commit
63a9dce4d4
@ -761,6 +761,8 @@ public:
|
||||
virtual void LevelShutdownPostEntity( void )
|
||||
{
|
||||
#ifdef MAPBASE_VSCRIPT
|
||||
g_ScriptEntityIterator.DisableEntityListening();
|
||||
|
||||
g_ScriptNetMsg->LevelShutdownPreVM();
|
||||
|
||||
GetScriptHookManager().OnShutdown();
|
||||
|
@ -841,6 +841,8 @@ public:
|
||||
virtual void LevelShutdownPostEntity( void )
|
||||
{
|
||||
#ifdef MAPBASE_VSCRIPT
|
||||
g_ScriptEntityIterator.DisableEntityListening();
|
||||
|
||||
g_ScriptNetMsg->LevelShutdownPreVM();
|
||||
|
||||
GetScriptHookManager().OnShutdown();
|
||||
|
Loading…
x
Reference in New Issue
Block a user