aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ShiftOS.Objects/Save.cs2
-rw-r--r--ShiftOS.Server.WebAdmin/Program.cs2
-rw-r--r--ShiftOS.Server/SaveManager.cs2
3 files changed, 3 insertions, 3 deletions
diff --git a/ShiftOS.Objects/Save.cs b/ShiftOS.Objects/Save.cs
index a901a92..b0dcc03 100644
--- a/ShiftOS.Objects/Save.cs
+++ b/ShiftOS.Objects/Save.cs
@@ -11,7 +11,7 @@ namespace ShiftOS.Objects
public class Save
{
public string Username { get; set; }
- public int Codepoints { get; set; }
+ public long Codepoints { get; set; }
public Dictionary<string, bool> Upgrades { get; set; }
public int StoryPosition { get; set; }
public string Language { get; set; }
diff --git a/ShiftOS.Server.WebAdmin/Program.cs b/ShiftOS.Server.WebAdmin/Program.cs
index 145e97c..2f7bd72 100644
--- a/ShiftOS.Server.WebAdmin/Program.cs
+++ b/ShiftOS.Server.WebAdmin/Program.cs
@@ -336,7 +336,7 @@ namespace ShiftOS.Server.WebAdmin
{
if (System.IO.Directory.Exists("saves"))
{
- int cp = 0;
+ long cp = 0;
foreach(var file in System.IO.Directory.GetFiles("saves"))
{
diff --git a/ShiftOS.Server/SaveManager.cs b/ShiftOS.Server/SaveManager.cs
index fcca2bb..d52d32a 100644
--- a/ShiftOS.Server/SaveManager.cs
+++ b/ShiftOS.Server/SaveManager.cs
@@ -146,7 +146,7 @@ namespace ShiftOS.Server
if (args["username"] != null && args["amount"] != null)
{
string userName = args["username"] as string;
- int cpAmount = (int)args["amount"];
+ long cpAmount = (long)args["amount"];
if (Directory.Exists("saves"))
{