Fixed crashey bug

This commit is contained in:
Shank 2011-06-06 02:44:57 -06:00
parent 1702e12c4a
commit 72eda4f3e2

View file

@ -565,6 +565,8 @@ namespace TShockAPI
Console.WriteLine("This token will only display ONCE.");
FileTools.CreateFile(FileTools.SaveDir + "auth.lck");
}
ConfigurationManager.maxSlots = Main.maxPlayers - 1;
}
private void OnUpdate(GameTime time)