mirror of
https://git.alee14.me/shiftos-archive/ShiftOS_TheReturn.git
synced 2025-01-22 18:02:16 +00:00
Codepoints are now stored in 64-bit signed ints
This commit is contained in:
parent
88194888fd
commit
ac0fcc6ace
3 changed files with 3 additions and 3 deletions
|
@ -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; }
|
||||
|
|
|
@ -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"))
|
||||
{
|
||||
|
|
|
@ -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"))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue