aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS_TheReturn/ServerManager.cs
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-07-13 08:40:47 -0400
committerMichael <[email protected]>2017-07-13 08:40:47 -0400
commite92af1bc7fe5cd5860206061f4ff261b3339cc51 (patch)
tree14b571e2495731d7302b61c56d18ae5e4988587e /ShiftOS_TheReturn/ServerManager.cs
parentaf01804c0fb4286f5975e973aec2b4eaf9752c08 (diff)
downloadshiftos_thereturn-e92af1bc7fe5cd5860206061f4ff261b3339cc51.tar.gz
shiftos_thereturn-e92af1bc7fe5cd5860206061f4ff261b3339cc51.tar.bz2
shiftos_thereturn-e92af1bc7fe5cd5860206061f4ff261b3339cc51.zip
SidePanel system, system status, crapton of other neat things
Diffstat (limited to 'ShiftOS_TheReturn/ServerManager.cs')
-rw-r--r--ShiftOS_TheReturn/ServerManager.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/ShiftOS_TheReturn/ServerManager.cs b/ShiftOS_TheReturn/ServerManager.cs
index 66a0d37..e2c4e96 100644
--- a/ShiftOS_TheReturn/ServerManager.cs
+++ b/ShiftOS_TheReturn/ServerManager.cs
@@ -161,7 +161,7 @@ Ping: {ServerManager.DigitalSocietyPing} ms
switch(msg.Name)
{
case "getguid_fromserver":
- if(SaveSystem.CurrentUser.Username == msg.Contents)
+ if(SaveSystem.CurrentSave.Username == msg.Contents)
{
client.Send(new NetObject("yes_i_am", new ServerMessage
{
@@ -258,7 +258,7 @@ Ping: {ServerManager.DigitalSocietyPing} ms
else if(msg.Name == "update_your_cp")
{
var args = JsonConvert.DeserializeObject<Dictionary<string, object>>(msg.Contents);
- if(args["username"] as string == SaveSystem.CurrentUser.Username)
+ if(args["username"] as string == SaveSystem.CurrentSave.Username)
{
SaveSystem.CurrentSave.Codepoints += (ulong)args["amount"];
Desktop.InvokeOnWorkerThread(new Action(() =>