aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS_TheReturn/SaveSystem.cs
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-06-28 16:33:07 -0400
committerMichael <[email protected]>2017-06-28 16:33:07 -0400
commit27264a559d7fd40a0c2bc393a5e150c17da1539d (patch)
treeed02811fbd109b1637cd9b6a818af3eb4ce46e59 /ShiftOS_TheReturn/SaveSystem.cs
parent6cdb8cb0253230f6f845afb549517c5c3f12d2d1 (diff)
downloadshiftos_thereturn-27264a559d7fd40a0c2bc393a5e150c17da1539d.tar.gz
shiftos_thereturn-27264a559d7fd40a0c2bc393a5e150c17da1539d.tar.bz2
shiftos_thereturn-27264a559d7fd40a0c2bc393a5e150c17da1539d.zip
Basics of the virus system
Diffstat (limited to 'ShiftOS_TheReturn/SaveSystem.cs')
-rw-r--r--ShiftOS_TheReturn/SaveSystem.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ShiftOS_TheReturn/SaveSystem.cs b/ShiftOS_TheReturn/SaveSystem.cs
index b767605..e20bc08 100644
--- a/ShiftOS_TheReturn/SaveSystem.cs
+++ b/ShiftOS_TheReturn/SaveSystem.cs
@@ -191,7 +191,7 @@ namespace ShiftOS.Engine
{
// "No errors, this never gets called."
Console.WriteLine("[inetd] SEVERE: " + ex.Message);
- string dest = "Startup Exception " + DateTime.Now.ToString() + ".txt";
+ string dest = "Startup Exception " + DateTime.Now.ToString().Replace("/", "-").Replace(":", "-") + ".txt";
System.IO.File.WriteAllText(dest, ex.ToString());
Console.WriteLine("[inetd] Full exception details have been saved to: " + dest);
Thread.Sleep(3000);