savestate
This commit is contained in:
parent
529d48a758
commit
f18ff24bb6
|
@ -84,6 +84,7 @@ namespace AutoClient.Modes.FolderStore
|
||||||
onFileUploaded();
|
onFileUploaded();
|
||||||
Log("Got CID: " + cid);
|
Log("Got CID: " + cid);
|
||||||
State.Cid = cid.Id;
|
State.Cid = cid.Id;
|
||||||
|
SaveState();
|
||||||
Thread.Sleep(1000);
|
Thread.Sleep(1000);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -201,6 +202,7 @@ namespace AutoClient.Modes.FolderStore
|
||||||
Pid = response
|
Pid = response
|
||||||
};
|
};
|
||||||
State.Purchases = State.Purchases.Concat([newPurchase]).ToArray();
|
State.Purchases = State.Purchases.Concat([newPurchase]).ToArray();
|
||||||
|
SaveState();
|
||||||
|
|
||||||
Log($"New purchase created. PID: '{response}'. Waiting for submit...");
|
Log($"New purchase created. PID: '{response}'. Waiting for submit...");
|
||||||
Thread.Sleep(500);
|
Thread.Sleep(500);
|
||||||
|
|
Loading…
Reference in New Issue