Skip to content

Commit

Permalink
Fix Blink exception with empty values (#1511)
Browse files Browse the repository at this point in the history
  • Loading branch information
DocMoebiuz authored Dec 18, 2023
1 parent f65a3bb commit 24b1dbe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions UI/Panels/Modifier/BlinkModifierPanel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ public ModifierBase toConfig()
for (var i=0; i!= panelSequences.Controls.Count; i++)
{
var sequence = (panelSequences.Controls[i] as BlinkSequencePanel).toConfig();
if (sequence == null) continue;

onOffSequence.Add(sequence.Item1);
onOffSequence.Add(sequence.Item2);
}
Expand Down

0 comments on commit 24b1dbe

Please sign in to comment.