Skip to content

Commit

Permalink
misc: do not log dirty hack changes if ShowDirtyHacks is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
GreemDev committed Jan 1, 2025
1 parent 61ae427 commit 6286501
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -645,6 +645,9 @@ public HacksSection()

private void HackChanged(object sender, ReactiveEventArgs<bool> rxe)
{
if (!ShowDirtyHacks)
return;

var newHacks = EnabledHacks.Select(x => x.Hack)
.JoinToString(", ");

Expand Down

0 comments on commit 6286501

Please sign in to comment.