euchre-live

Euchre web-app for the socially distant family
git clone git://git.alexkarle.com/euchre-live.git
Log | Files | Refs | README | LICENSE

commit 09c4dcef6f4f356e4b32ffc87dff494591befbb2 (patch)
parent 0521a36bb5f7bae19dffb3d67279e97bd277f28e
Author: Alex Karle <alex@karle.co>
Date:   Thu,  7 May 2020 20:30:45 -0400

Euchre::Dealer: Fix order MISSING_PARAMS

loner is apparently optional :)

Whoops, sorry Dad!

Diffstat:
Mlib/Euchre/Dealer.pm | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Euchre/Dealer.pm b/lib/Euchre/Dealer.pm @@ -71,7 +71,7 @@ sub handle_msg { restart_game => [\&restart_game, [], 'end', RESTART_GAME], # Gameplay - order => [\&order, ['vote', 'loner'], 'vote', ORDER, 1], + order => [\&order, ['vote'], 'vote', ORDER, 1], dealer_swap => [\&dealer_swap, ['card'], 'dealer_swap', DEALER_SWAP, 1], play_card => [\&play_card, ['card'], 'play', PLAY_CARD, 1], );