From f18ff24bb63a6abe8c118c0757674ae63a3004ba Mon Sep 17 00:00:00 2001 From: Ben Date: Tue, 26 Nov 2024 16:23:56 +0100 Subject: [PATCH] savestate --- Tools/AutoClient/Modes/FolderStore/FileWorker.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Tools/AutoClient/Modes/FolderStore/FileWorker.cs b/Tools/AutoClient/Modes/FolderStore/FileWorker.cs index b258c52..6118f8d 100644 --- a/Tools/AutoClient/Modes/FolderStore/FileWorker.cs +++ b/Tools/AutoClient/Modes/FolderStore/FileWorker.cs @@ -84,6 +84,7 @@ namespace AutoClient.Modes.FolderStore onFileUploaded(); Log("Got CID: " + cid); State.Cid = cid.Id; + SaveState(); Thread.Sleep(1000); } } @@ -201,6 +202,7 @@ namespace AutoClient.Modes.FolderStore Pid = response }; State.Purchases = State.Purchases.Concat([newPurchase]).ToArray(); + SaveState(); Log($"New purchase created. PID: '{response}'. Waiting for submit..."); Thread.Sleep(500);