From 72eda4f3e26ba016e464491d9f566307b010fb64 Mon Sep 17 00:00:00 2001 From: Shank Date: Mon, 6 Jun 2011 02:44:57 -0600 Subject: [PATCH] Fixed crashey bug --- TShockAPI/TShock.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/TShockAPI/TShock.cs b/TShockAPI/TShock.cs index 08a1709c..4fb2faee 100644 --- a/TShockAPI/TShock.cs +++ b/TShockAPI/TShock.cs @@ -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)