Skip to content

Commit

Permalink
position controller fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexWan committed Nov 26, 2020
1 parent c6193fb commit 1398bb8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions project/OsEngine/Journal/Internal/PositionController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,15 @@ public static async void WatcherHome()

for (int i = 0; i < ControllersToCheck.Count; i++)
{
if (ControllersToCheck[i] == null)
PositionController controller = ControllersToCheck[i];

if (controller == null)
{
continue;
}
ControllersToCheck[i].SavePositions();
ControllersToCheck[i].TryPaintPositions();

controller.SavePositions();
controller.TryPaintPositions();
}

if (!MainWindow.ProccesIsWorked)
Expand Down
Binary file modified project/OsEngine/bin/Debug/OsEngine.exe
Binary file not shown.

0 comments on commit 1398bb8

Please sign in to comment.