Skip to content

Commit 91bc91b

Browse files
committed
Better reflect the internal mechanism inside STOP in the note.
1 parent d974b13 commit 91bc91b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

rts/Lua/LuaConstCMD.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ bool LuaConstCMD::PushEntries(lua_State* L)
7979
*
8080
* Accepts no parameters.
8181
*
82-
* *Note:* If `shift` option is used it will be a noop in the queue.
82+
* *Note:* This is actually a noop, but clears the queue when `shift` isn't used since
83+
* that's the standard behaviour when `shift` isn't used for all actions.
8384
*/
8485
PUSH_CMD(STOP);
8586
/*** @field CMD.INSERT 1 */

0 commit comments

Comments
 (0)