diff --git a/Assembly - UnityScript/Game.cs b/Assembly - UnityScript/Game.cs index 314ab7f..d49a3fe 100644 --- a/Assembly - UnityScript/Game.cs +++ b/Assembly - UnityScript/Game.cs @@ -1009,9 +1009,6 @@ public class Game : MonoBehaviour [HideInInspector] public float fps; - [NonSerialized] - public const int maxBots = 25; - public Game() { whirldIn = new WhirldIn(); diff --git a/Assembly - UnityScript/Settings.cs b/Assembly - UnityScript/Settings.cs index 4337f5f..9f0fbb0 100644 --- a/Assembly - UnityScript/Settings.cs +++ b/Assembly - UnityScript/Settings.cs @@ -1127,16 +1127,13 @@ public class Settings : MonoBehaviour } GUILayout.Space(10f); GUILayout.BeginHorizontal(); - if (Game.Controller.botsInGame < Game.maxBots && GUILayout.Button("Add Bot")) + if (GUILayout.Button("Add Bot")) { Game.Controller.StartCoroutine_Auto(Game.Controller.addBot()); } if (Game.Controller.botsInGame > 0) { - if (Game.Controller.botsInGame != Game.maxBots) - { - GUILayout.Space(5f); - } + GUILayout.Space(5f); if (GUILayout.Button("Axe Bot")) { Game.Controller.StartCoroutine_Auto(Game.Controller.axeBot());