Skip to content

Commit

Permalink
simplify LineInCombat.WriteLine per review
Browse files Browse the repository at this point in the history
  • Loading branch information
quisquous committed Nov 2, 2022
1 parent e5d19f9 commit 9bc4ac2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion OverlayPlugin.Core/MemoryProcessors/InCombat/LineInCombat.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@ public void Update()

public void WriteLine(bool inACTCombat, bool inGameCombat)
{
var line = $"{(inACTCombat ? 1 : 0)}|{(inGameCombat ? 1 : 0)}";
var inACTCombatDecimal = inACTCombat ? 1 : 0;
var inGameCombatDecimal = inGameCombat ? 1 : 0;
var line = $"{inACTCombatDecimal}|{inGameCombatDecimal}";
logWriter(line, ffxiv.GetServerTimestamp());
}
}
Expand Down

0 comments on commit 9bc4ac2

Please sign in to comment.