Fix crash

This commit is contained in:
Asriel Camora
2025-04-29 14:16:44 -07:00
parent 1ce3c401ea
commit d34e54c3a8
2 changed files with 9 additions and 0 deletions
+3
View File
@@ -528,6 +528,9 @@ public sealed unsafe class SynthHelper : Window, IDisposable
private void OnUseAction(ActionType action)
{
if (!ShouldOpen || IsCollapsed)
return;
(_, CurrentState) = new SimNoRandom().Execute(GetCurrentState(), action);
CurrentActionCount = CurrentState.ActionCount;
CurrentActionStates = CurrentState.ActionStates;