don't unsubscribe from messages on bgchange
This commit is contained in:
@@ -47,6 +47,13 @@ void Actor::SetBGMLight( int iLightNumber, float fCabinetLights )
|
||||
}
|
||||
|
||||
void Actor::InitDefaults()
|
||||
{
|
||||
InitState();
|
||||
|
||||
UnsubscribeAll();
|
||||
}
|
||||
|
||||
void Actor::InitState()
|
||||
{
|
||||
StopTweening();
|
||||
|
||||
@@ -88,8 +95,6 @@ void Actor::InitDefaults()
|
||||
m_ZTestMode = ZTEST_OFF;
|
||||
m_bZWrite = false;
|
||||
m_CullMode = CULL_NONE;
|
||||
|
||||
UnsubscribeAll();
|
||||
}
|
||||
|
||||
static bool GetMessageNameFromCommandName( const RString &sCommandName, RString &sMessageNameOut )
|
||||
|
||||
Reference in New Issue
Block a user