Skip to content

Commit

Permalink
Amend c2ff06b
Browse files Browse the repository at this point in the history
  • Loading branch information
sprunk authored Feb 21, 2024
1 parent c0035af commit 2eec792
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions rts/Lua/LuaUnsyncedCtrl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4918,14 +4918,13 @@ int LuaUnsyncedCtrl::SetClipboard(lua_State* L)
*
* Should be called after each widget/unsynced gadget is loaded in widget/gadget handler. Use it to draw screen updates and process windows events.
*
* @usage#
* @usage
* local wantYield = Spring.Yield and Spring.Yield() -- nil check: not present in synced
* for wupget in pairs(wupgetsToLoad) do
* loadWupget(wupget)
* wantYield = wantYield and Spring.Yield()
* end
*
* @number sleep time in milliseconds.
* @treturn bool when true caller should continue calling `Spring.Yield` during the widgets/gadgets load, when false it shouldn't call it any longer.
*/
int LuaUnsyncedCtrl::Yield(lua_State* L)
Expand Down

0 comments on commit 2eec792

Please sign in to comment.