Skip to content

Commit

Permalink
C# InstructionalButtons: Check button list is not null
Browse files Browse the repository at this point in the history
  • Loading branch information
manups4e committed Nov 2, 2023
1 parent 90c26af commit 3367584
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ScaleformUI_Csharp/Scaleforms/ScaleformUI/Main.cs
Expand Up @@ -71,7 +71,7 @@ private async Task ScaleformUIThread_Tick()
MenuHandler.ProcessMenus();
if (Warning._sc != null)
Warning.Update();
if (InstructionalButtons._sc != null && (InstructionalButtons.ControlButtons != null && InstructionalButtons.ControlButtons.Count != 0) || InstructionalButtons.IsSaving)
if (InstructionalButtons._sc != null && (InstructionalButtons.ControlButtons != null && InstructionalButtons.ControlButtons.Count != 0))
InstructionalButtons.Update();
if (Game.IsPaused) return;
if (MedMessageInstance._sc != null)
Expand Down

0 comments on commit 3367584

Please sign in to comment.