2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 13:07:42 +00:00

Merge pull request #138 from lioncash/sound

CScriptSound: Remove active check within AcceptScriptMsg() deactivate path
This commit is contained in:
2020-01-31 14:48:28 -08:00
committed by GitHub

View File

@@ -158,8 +158,7 @@ void CScriptSound::AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId uid, CSta
StopSound(mgr);
} break;
case EScriptObjectMessage::Deactivate: {
if (GetActive())
StopSound(mgr);
StopSound(mgr);
} break;
case EScriptObjectMessage::Activate: {
if (GetActive())