mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2025-01-27 22:27:57 +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 )
|
virtual void LevelShutdownPostEntity( void )
|
||||||
{
|
{
|
||||||
#ifdef MAPBASE_VSCRIPT
|
#ifdef MAPBASE_VSCRIPT
|
||||||
|
g_ScriptEntityIterator.DisableEntityListening();
|
||||||
|
|
||||||
g_ScriptNetMsg->LevelShutdownPreVM();
|
g_ScriptNetMsg->LevelShutdownPreVM();
|
||||||
|
|
||||||
GetScriptHookManager().OnShutdown();
|
GetScriptHookManager().OnShutdown();
|
||||||
|
@ -841,6 +841,8 @@ public:
|
|||||||
virtual void LevelShutdownPostEntity( void )
|
virtual void LevelShutdownPostEntity( void )
|
||||||
{
|
{
|
||||||
#ifdef MAPBASE_VSCRIPT
|
#ifdef MAPBASE_VSCRIPT
|
||||||
|
g_ScriptEntityIterator.DisableEntityListening();
|
||||||
|
|
||||||
g_ScriptNetMsg->LevelShutdownPreVM();
|
g_ScriptNetMsg->LevelShutdownPreVM();
|
||||||
|
|
||||||
GetScriptHookManager().OnShutdown();
|
GetScriptHookManager().OnShutdown();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user