remove bot limit entirely #3

Merged
VIA256 merged 1 commits from fun into main 2025-07-02 20:57:00 -04:00
2 changed files with 2 additions and 8 deletions

View File

@ -1009,9 +1009,6 @@ public class Game : MonoBehaviour
[HideInInspector]
public float fps;
[NonSerialized]
public const int maxBots = 25;
public Game()
{
whirldIn = new WhirldIn();

View File

@ -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);
}
if (GUILayout.Button("Axe Bot"))
{
Game.Controller.StartCoroutine_Auto(Game.Controller.axeBot());