aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS_TheReturn/Commands.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/Commands.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/Commands.cs')
-rw-r--r--ShiftOS_TheReturn/Commands.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/ShiftOS_TheReturn/Commands.cs b/ShiftOS_TheReturn/Commands.cs
index b97cd1d..ec89539 100644
--- a/ShiftOS_TheReturn/Commands.cs
+++ b/ShiftOS_TheReturn/Commands.cs
@@ -311,7 +311,7 @@ namespace ShiftOS.Engine
if (args.ContainsKey("amount"))
try
{
- long codepointsToAdd = Convert.ToInt64(args["amount"].ToString());
+ ulong codepointsToAdd = Convert.ToUInt64(args["amount"].ToString());
SaveSystem.CurrentSave.Codepoints += codepointsToAdd;
return true;
}
@@ -639,7 +639,7 @@ shiftorium.buy{{upgrade:""{upg.ID}""}}");
cat = args["cat"].ToString();
}
- Dictionary<string, long> upgrades = new Dictionary<string, long>();
+ Dictionary<string, ulong> upgrades = new Dictionary<string, ulong>();
int maxLength = 5;
IEnumerable<ShiftoriumUpgrade> upglist = Shiftorium.GetAvailable();