chore: Do not run k_ai_master at the moment
This commit is contained in:
parent
889f4b6558
commit
defabd71ec
1 changed files with 3 additions and 0 deletions
|
@ -41,6 +41,9 @@ ScriptRunner::ScriptRunner(Game *game) : _game(game) {
|
|||
}
|
||||
|
||||
int ScriptRunner::run(const string &resRef, uint32_t callerId, uint32_t triggerrerId, int userDefinedEventNumber) {
|
||||
// TODO: currently using hardcoded AI
|
||||
if (resRef == "k_ai_master") return -1;
|
||||
|
||||
auto program = Scripts::instance().get(resRef);
|
||||
if (!program) return -1;
|
||||
|
||||
|
|
Loading…
Reference in a new issue