aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS_TheReturn/SaveSystem.cs
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-02-25 10:03:36 -0500
committerMichael <[email protected]>2017-02-25 10:03:36 -0500
commit910a1c455e0176bfff7776e47f9160e349cfaf67 (patch)
tree0d8b17eafb1bd76d3b6daadabc2452bd807d72e1 /ShiftOS_TheReturn/SaveSystem.cs
parentea18e37bffacbb8d52b875eecc860dc985ba8bc5 (diff)
downloadshiftos_thereturn-910a1c455e0176bfff7776e47f9160e349cfaf67.tar.gz
shiftos_thereturn-910a1c455e0176bfff7776e47f9160e349cfaf67.tar.bz2
shiftos_thereturn-910a1c455e0176bfff7776e47f9160e349cfaf67.zip
Notification counter on desktop.
Diffstat (limited to 'ShiftOS_TheReturn/SaveSystem.cs')
-rw-r--r--ShiftOS_TheReturn/SaveSystem.cs5
1 files changed, 2 insertions, 3 deletions
diff --git a/ShiftOS_TheReturn/SaveSystem.cs b/ShiftOS_TheReturn/SaveSystem.cs
index fb7070a..9ae18a9 100644
--- a/ShiftOS_TheReturn/SaveSystem.cs
+++ b/ShiftOS_TheReturn/SaveSystem.cs
@@ -209,8 +209,7 @@ namespace ShiftOS.Engine
public static void TransferCodepointsToVoid(int amount)
{
CurrentSave.Codepoints -= amount;
- if(!Shiftorium.Silent)
- Console.WriteLine($"{{SHIFTORIUM_TRANSFERRED_TO}}: {amount} -> sys");
+ NotificationDaemon.AddNotification(NotificationType.CodepointsSent, amount);
}
public static void Restart()
@@ -302,7 +301,7 @@ namespace ShiftOS.Engine
public static void TransferCodepointsFrom(string who, int amount)
{
- Console.WriteLine($"{{SHIFTORIUM_TRANSFERRED_FROM}}: {amount} <- {who}");
+ NotificationDaemon.AddNotification(NotificationType.CodepointsReceived, amount);
CurrentSave.Codepoints += amount;
}
}