summaryrefslogtreecommitdiff
path: root/src/script/api/script_execmode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/script/api/script_execmode.cpp')
-rw-r--r--src/script/api/script_execmode.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/script/api/script_execmode.cpp b/src/script/api/script_execmode.cpp
index 3617a22cf..fe2ac3d7c 100644
--- a/src/script/api/script_execmode.cpp
+++ b/src/script/api/script_execmode.cpp
@@ -31,9 +31,9 @@ ScriptExecMode::ScriptExecMode()
ScriptExecMode::~ScriptExecMode()
{
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("ScriptExecMode object was removed while it was not the latest AI*Mode object created.");
+ throw Script_FatalError("ScriptExecMode object was removed while it was not the latest *Mode object created.");
}
}
this->SetDoCommandMode(this->last_mode, this->last_instance);