Skip to content

Commit a2555a4

Browse files
committed
fix: revert shop() -> cash_out()
1 parent c77c52b commit a2555a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lua/api.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,7 @@ API.functions["shop"] = function(args)
686686
API.pending_requests["shop"] = {
687687
condition = function()
688688
-- Purchase action is non-atomic, so we need to check dollars
689-
return utils.COMPLETION_CONDITIONS.shop()
689+
return utils.COMPLETION_CONDITIONS.cash_out()
690690
and #G.shop_jokers.cards == shop_size_before - 1
691691
and G.GAME.dollars == expected_dollars
692692
end,

0 commit comments

Comments
 (0)