aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS_TheReturn/ServerManager.cs
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-05-29 20:08:30 -0400
committerMichael <[email protected]>2017-05-29 20:08:30 -0400
commit37ac4c684ce3904c5ec614362ed99bb9867ca0f3 (patch)
tree0f2418da210f1f3c315d10f3b197c15f61291f49 /ShiftOS_TheReturn/ServerManager.cs
parentff47625d2547deed441a853569f9fe84197e23b6 (diff)
downloadshiftos_thereturn-37ac4c684ce3904c5ec614362ed99bb9867ca0f3.tar.gz
shiftos_thereturn-37ac4c684ce3904c5ec614362ed99bb9867ca0f3.tar.bz2
shiftos_thereturn-37ac4c684ce3904c5ec614362ed99bb9867ca0f3.zip
It's amazing what talking to Rylan can do to an integer datatype.
Diffstat (limited to 'ShiftOS_TheReturn/ServerManager.cs')
-rw-r--r--ShiftOS_TheReturn/ServerManager.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ShiftOS_TheReturn/ServerManager.cs b/ShiftOS_TheReturn/ServerManager.cs
index abb674d..1439c0d 100644
--- a/ShiftOS_TheReturn/ServerManager.cs
+++ b/ShiftOS_TheReturn/ServerManager.cs
@@ -246,7 +246,7 @@ Ping: {ServerManager.DigitalSocietyPing} ms
var args = JsonConvert.DeserializeObject<Dictionary<string, object>>(msg.Contents);
if(args["username"] as string == SaveSystem.CurrentUser.Username)
{
- SaveSystem.CurrentSave.Codepoints += (long)args["amount"];
+ SaveSystem.CurrentSave.Codepoints += (ulong)args["amount"];
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.");