We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f315e1 commit f9c6f04Copy full SHA for f9c6f04
src/lua/api.lua
@@ -356,7 +356,10 @@ API.functions["skip_or_select_blind"] = function(args)
356
---@type PendingRequest
357
API.pending_requests["skip_or_select_blind"] = {
358
condition = function()
359
- return G.GAME and G.GAME.facing_blind and G.STATE == G.STATES.SELECTING_HAND
+ return G.GAME
360
+ and G.GAME.facing_blind
361
+ and G.STATE == G.STATES.SELECTING_HAND
362
+ and #G.E_MANAGER.queues.base < EVENT_QUEUE_THRESHOLD
363
end,
364
action = function()
365
local game_state = utils.get_game_state()
0 commit comments