GS: Documentation/comment fixes for ScriptAsyncMode

This commit is contained in:
Jonathan G Rennison
2023-05-23 22:49:48 +01:00
parent cd9930542d
commit 5428b6dd9b
2 changed files with 2 additions and 7 deletions

View File

@@ -356,7 +356,7 @@ ScriptObject::ActiveInstance::~ActiveInstance()
/* Are we only interested in the estimate costs? */
bool estimate_only = GetDoCommandMode() != nullptr && !GetDoCommandMode()();
/* Are we only interested in the estimate costs? */
/* Should the command be executed asynchronously? */
bool asynchronous = GetDoCommandAsyncMode() != nullptr && GetDoCommandAsyncMode()() && GetActiveInstance()->GetScriptType() == ST_GS;
/* Only set p2 when the command does not come from the network. */