Skip to content

Commit 89980f1

Browse files
committed
Rephrase and reduce the range explanation.
1 parent ff3ac55 commit 89980f1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

rts/Lua/LuaConstCMD.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,11 +106,9 @@ bool LuaConstCMD::PushEntries(lua_State* L)
106106
*
107107
* ### Remove by range
108108
*
109-
* Removes all commands in a given range, indexed by position in the queue, or command tag.
109+
* Removes all commands with index in range [start, end], indexed by position in the queue, or command tag.
110110
*
111111
* - `params` {start, end}. both are optional and if not set default to queue limits.
112-
* - Start and end will be clamped to the biggest queue intersection.
113-
* - For example `{2,100}` is be processed as `{2,5}` (or `{2}`) in a queue with 5 items).
114112
* - With `alt`, start and end are indexes, without `alt`, they're tags.
115113
*
116114
* ## Command Options

0 commit comments

Comments
 (0)