Skip to content

Commit

Permalink
Code formatting (#112)
Browse files Browse the repository at this point in the history
  • Loading branch information
dimon222 authored May 18, 2020
1 parent 58276a8 commit 3afac55
Show file tree
Hide file tree
Showing 2 changed files with 188 additions and 164 deletions.
9 changes: 6 additions & 3 deletions WFInfo/Data.cs
Original file line number Diff line number Diff line change
Expand Up @@ -820,11 +820,14 @@ public static void AutoTriggered()

OCR.UpdateWindow();

while (watch.ElapsedMilliseconds < stop) {
if (watch.ElapsedMilliseconds > wait) {
while (watch.ElapsedMilliseconds < stop)
{
if (watch.ElapsedMilliseconds > wait)
{
wait += Settings.autoDelay;
OCR.GetThemeWeighted(out double diff);
if (diff > 100) {
if (diff > 100)
{
while (watch.ElapsedMilliseconds < wait) ;
Main.AddLog("started auto processing");
OCR.ProcessRewardScreen();
Expand Down
Loading

0 comments on commit 3afac55

Please sign in to comment.