From cff927522be922cbbdcd8e5d2b1df582242e7f3f Mon Sep 17 00:00:00 2001 From: toxxic407 Date: Sat, 3 Apr 2021 02:02:03 +0200 Subject: [PATCH] -Fixed a Bug that would cause the Claim to be triggered twice for every drop --- Rust Drop Bot/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rust Drop Bot/Program.cs b/Rust Drop Bot/Program.cs index 9f10f2b..3825ffd 100644 --- a/Rust Drop Bot/Program.cs +++ b/Rust Drop Bot/Program.cs @@ -148,7 +148,7 @@ static void Main() Process StreamWindow = Process.Start(path, stats[Current_Stream].URL); stats = Update_stats(); Console.WriteLine(stats[Current_Stream].Watchtime + "/130 Minutes (" + stats[Current_Stream].Name + ")"); - for (int i = stats[Current_Stream].Watchtime; i < 130; i++) + for (int i = stats[Current_Stream].Watchtime; i <= 130; i++) { SetThreadExecutionState(EXECUTION_STATE.ES_DISPLAY_REQUIRED | EXECUTION_STATE.ES_SYSTEM_REQUIRED | EXECUTION_STATE.ES_CONTINUOUS); Thread.Sleep(60000);