Skip to content

Commit

Permalink
Merge pull request StarCoreSE#1158 from Jnick-24/main
Browse files Browse the repository at this point in the history
Tentative fix for new player sound spam
  • Loading branch information
InvalidArgument3 authored May 11, 2024
2 parents b2e8a69 + 9c6bb78 commit b8ebbe7
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ protected override void UnloadData()
//RichHudClient.Reset();
}

private bool _questlogDisposed = false;
public override void UpdateAfterSimulation()
{
_ticks++;
Expand Down Expand Up @@ -72,10 +73,12 @@ public override void UpdateAfterSimulation()
false, false);
displayedCount++;
}
_questlogDisposed = false;
}
else
else if (!_questlogDisposed)
{
MyVisualScriptLogicProvider.SetQuestlogLocal(false, "Fusion Systems");
_questlogDisposed = true;
}
}
catch (Exception ex)
Expand Down

0 comments on commit b8ebbe7

Please sign in to comment.