fix AV if enable debug lights after starting gameplay with them disabled
This commit is contained in:
@@ -1623,6 +1623,8 @@ void ScreenGameplay::UpdateLights()
|
||||
{
|
||||
if( !LIGHTSMAN->IsEnabled() )
|
||||
return;
|
||||
if( m_CabinetLightsNoteData.GetNumTracks() == 0 ) // light data wasn't loaded
|
||||
return;
|
||||
|
||||
const Style* pStyle = GAMESTATE->GetCurrentStyle();
|
||||
bool bBlinkCabinetLight[NUM_CABINET_LIGHTS];
|
||||
|
||||
Reference in New Issue
Block a user