Skip to content

Commit

Permalink
Merge pull request #464 from FFXIV-CombatReborn/performance-and-caching
Browse files Browse the repository at this point in the history
Make sure target updater runs before everything else to prevent stale…
  • Loading branch information
NostraThomas99 authored Dec 4, 2024
2 parents e3fd696 + 7fb308d commit 878c139
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions RotationSolver/Updaters/MajorUpdater.cs
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,6 @@ private static void UpdateWork()

try
{
StateUpdater.UpdateState();

if (Service.Config.AutoReloadRotations)
{
RotationUpdater.LocalRotationWatcher();
Expand All @@ -151,6 +149,7 @@ private static void UpdateWork()
if (DataCenter.IsActivated())
{
TargetUpdater.UpdateTargets();
StateUpdater.UpdateState();
ActionSequencerUpdater.UpdateActionSequencerAction();
ActionUpdater.UpdateNextAction();
}
Expand Down

0 comments on commit 878c139

Please sign in to comment.