1
0
Fork 0
mirror of https://github.com/k4zmu2a/SpaceCadetPinball.git synced 2025-09-03 23:20:14 +02:00

Fix missing sound when mission is selected

This commit is contained in:
Gábor Dobra 2021-11-13 02:24:53 +01:00
parent 0b2fd28fda
commit 3fa47c2187

View file

@ -1640,7 +1640,7 @@ void control::MissionSpotTargetControl(int code, TPinballComponent* caller)
lite->Message(15, 2.0);
TSound* sound;
if (!light_on(&control_lite198_tag) || control_lite198_tag.Component->FlasherActive)
if (pb::FullTiltMode && (!light_on(&control_lite198_tag) || control_lite198_tag.Component->FlasherActive))
{
sound = control_soundwave52_tag.Component;
}