diff options
Diffstat (limited to 'src/script/api/script_testmode.cpp')
-rw-r--r-- | src/script/api/script_testmode.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/script/api/script_testmode.cpp b/src/script/api/script_testmode.cpp index 81633844a..46cc15e05 100644 --- a/src/script/api/script_testmode.cpp +++ b/src/script/api/script_testmode.cpp @@ -31,9 +31,9 @@ ScriptTestMode::ScriptTestMode() ScriptTestMode::~ScriptTestMode() { if (this->GetDoCommandModeInstance() != this) { - /* Ignore this error if the AI already died. */ + /* Ignore this error if the script already died. */ if (!ScriptObject::GetActiveInstance()->IsDead()) { - throw Script_FatalError("AITestmode object was removed while it was not the latest AI*Mode object created."); + throw Script_FatalError("Testmode object was removed while it was not the latest *Mode object created."); } } this->SetDoCommandMode(this->last_mode, this->last_instance); |