/auth-verify now removes authcode.txt

Some strings have been shortened to comply with Terraria's inability to move text that is too long to the second line.
This commit is contained in:
Lucas Nicodemus 2011-07-13 03:03:02 -06:00
parent 77ed57a4bd
commit bab6d6cd2e
2 changed files with 6 additions and 4 deletions

View file

@ -282,6 +282,7 @@ namespace TShockAPI
Console.WriteLine("TShock Notice: To become SuperAdmin, join the game and type /auth " + AuthToken);
Console.WriteLine("This token will display until disabled by verification. (/auth-verify)");
Console.ForegroundColor = ConsoleColor.Gray;
FileTools.CreateFile(Path.Combine(SavePath + "authcode.txt"));
TextWriter tw = new StreamWriter(Path.Combine(SavePath, "authcode.txt"));
tw.WriteLine(AuthToken);
tw.Close();