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 GitHub
parent 282d5d302d
commit 376f2509ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -7,6 +7,7 @@ class Regression extends AIInfo {
function GetAPIVersion() { return "1.12"; }
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.12"; }
function GetDate() { return "2007-03-18"; }
function CreateInstance() { return "StationList"; }
function UseAsRandomAI() { return false; }
}
RegisterAI(StationList());