aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS_TheReturn/Scripting.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/Scripting.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/Scripting.cs')
-rw-r--r--ShiftOS_TheReturn/Scripting.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/ShiftOS_TheReturn/Scripting.cs b/ShiftOS_TheReturn/Scripting.cs
index 61c6676..5021f50 100644
--- a/ShiftOS_TheReturn/Scripting.cs
+++ b/ShiftOS_TheReturn/Scripting.cs
@@ -444,7 +444,7 @@ end");
/// Retrieves the user's Codepoints from the save file.
/// </summary>
/// <returns>The user's Codepoints.</returns>
- public long getCodepoints() { return SaveSystem.CurrentSave.Codepoints; }
+ public ulong getCodepoints() { return SaveSystem.CurrentSave.Codepoints; }
/// <summary>
/// Run a command in the Terminal.
@@ -462,7 +462,7 @@ end");
/// Adds the specified amount of Codepoints to the save flie.
/// </summary>
/// <param name="cp">The codepoints to add.</param>
- public void addCodepoints(int cp)
+ public void addCodepoints(uint cp)
{
if (cp > 100 || cp <= 0)
{