Skip to content

Commit

Permalink
In powerplay 2.0, the Powerplay event no longer seems to need the s…
Browse files Browse the repository at this point in the history
…ame duplicate suppression that it had previously.
  • Loading branch information
Tkael committed Nov 9, 2024
1 parent 0892255 commit 483d7dc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions EDDI/EDDI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1806,10 +1806,8 @@ private bool eventPowerDefected(PowerDefectedEvent @event)

private bool eventPowerplay(PowerplayEvent @event)
{
if (Cmdr != null && Cmdr.powermerits is null)
if (Cmdr != null)
{
// Per the journal, this is written at startup. In actuality, it can also be written whenever switching FSD states
// and needs to be filtered to prevent redundant outputs.
Cmdr.Power = @event.Power;
Cmdr.powerrating = @event.rank;
Cmdr.powermerits = @event.merits;
Expand Down

0 comments on commit 483d7dc

Please sign in to comment.