summaryrefslogtreecommitdiff
path: root/src/script/api/script_object.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/script/api/script_object.cpp')
-rw-r--r--src/script/api/script_object.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/script/api/script_object.cpp b/src/script/api/script_object.cpp
index a4c4549be..7da23d6f7 100644
--- a/src/script/api/script_object.cpp
+++ b/src/script/api/script_object.cpp
@@ -303,13 +303,13 @@ ScriptObject::ActiveInstance::~ActiveInstance()
if (callback != NULL) callback(GetActiveInstance());
return true;
} else if (_networking) {
- /* Suspend the AI till the command is really executed. */
+ /* Suspend the script till the command is really executed. */
throw Script_Suspend(-(int)GetDoCommandDelay(), callback);
} else {
IncreaseDoCommandCosts(res.GetCost());
- /* Suspend the AI player for 1+ ticks, so it simulates multiplayer. This
- * both avoids confusion when a developer launched his AI in a
+ /* Suspend the script player for 1+ ticks, so it simulates multiplayer. This
+ * both avoids confusion when a developer launched his script in a
* multiplayer game, but also gives time for the GUI and human player
* to interact with the game. */
throw Script_Suspend(GetDoCommandDelay(), callback);