Fix: Don't consider regression AIs when starting a random AI (#9164)

This commit is contained in:
Loïc Guilloux 2021-05-01 16:19:14 +02:00 committed by Charles Pigott
parent f3b8ff0e17
commit 5e7f9cc22c
2 changed files with 2 additions and 0 deletions

View File

@ -7,6 +7,7 @@ class Regression extends AIInfo {
function GetAPIVersion() { return "1.11"; }
function GetDate() { return "2007-03-18"; }
function CreateInstance() { return "Regression"; }
function UseAsRandomAI() { return false; }
}
RegisterAI(Regression());

View File

@ -7,6 +7,7 @@ class StationList extends AIInfo {
function GetAPIVersion() { return "1.11"; }
function GetDate() { return "2007-03-18"; }
function CreateInstance() { return "StationList"; }
function UseAsRandomAI() { return false; }
}
RegisterAI(StationList());