diff options
| author | Michael <[email protected]> | 2017-02-18 11:19:54 -0500 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-02-18 11:19:54 -0500 |
| commit | 30dbf1ecb94ecbc84cb71eba9936ee050d040b64 (patch) | |
| tree | 1cce38219b3d713ace86132ca5ffa0250ec73679 /ShiftOS_TheReturn/ServerManager.cs | |
| parent | 9b8d5861a954610713ae66a53d2ac067991d9b68 (diff) | |
| download | shiftos_thereturn-30dbf1ecb94ecbc84cb71eba9936ee050d040b64.tar.gz shiftos_thereturn-30dbf1ecb94ecbc84cb71eba9936ee050d040b64.tar.bz2 shiftos_thereturn-30dbf1ecb94ecbc84cb71eba9936ee050d040b64.zip | |
Fix bug with client-side for update_your_cp
Diffstat (limited to 'ShiftOS_TheReturn/ServerManager.cs')
| -rw-r--r-- | ShiftOS_TheReturn/ServerManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ShiftOS_TheReturn/ServerManager.cs b/ShiftOS_TheReturn/ServerManager.cs index aad63ef..7c5b8ef 100644 --- a/ShiftOS_TheReturn/ServerManager.cs +++ b/ShiftOS_TheReturn/ServerManager.cs @@ -131,7 +131,7 @@ namespace ShiftOS.Engine var args = JsonConvert.DeserializeObject<Dictionary<string, object>>(msg.Contents); if(args["username"] as string == SaveSystem.CurrentSave.Username) { - SaveSystem.CurrentSave.Codepoints += (int)args["amount"]; + 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."); SaveSystem.SaveGame(); } |
