mirror of
https://git.alee14.me/shiftos-archive/ShiftOS_TheReturn.git
synced 2025-02-02 06:17:34 +00:00
InvokeOnWorkerThread Michael...
This commit is contained in:
parent
30dbf1ecb9
commit
5c025fd165
1 changed files with 4 additions and 1 deletions
|
@ -132,7 +132,10 @@ namespace ShiftOS.Engine
|
|||
if(args["username"] as string == SaveSystem.CurrentSave.Username)
|
||||
{
|
||||
SaveSystem.CurrentSave.Codepoints += (long)args["amount"];
|
||||
Infobox.Show($"MUD Control Centre", $"Someone bought an item in your shop, and they have paid {args["amount"]}, and as such, you have been granted these Codepoints.");
|
||||
Desktop.InvokeOnWorkerThread(new Action(() =>
|
||||
{
|
||||
Infobox.Show($"MUD Control Centre", $"Someone bought an item in your shop, and they have paid {args["amount"]}, and as such, you have been granted these Codepoints.");
|
||||
}));
|
||||
SaveSystem.SaveGame();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue