From 63685b2f55aa80922a25085cf6de3b91aa8d7c4f Mon Sep 17 00:00:00 2001 From: Andy Spencer Date: Sat, 10 Aug 2013 05:12:02 +0000 Subject: [PATCH] Minor spades bug fixes --- spades.awk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spades.awk b/spades.awk index d0a6260..e5516e0 100644 --- a/spades.awk +++ b/spades.awk @@ -43,7 +43,7 @@ function sp_reset(type) # Per game if (type >= 2) { sp_channel = "" # channel to play in - sp_state = "new" # {new,join,bid,play} + sp_state = "new" # {new,join,bid,pass,play} sp_owner = "" # Who started the game sp_playto = 0 # Score the game will go to sp_dealer =-1 # Who is dealing this round @@ -451,7 +451,7 @@ sp_state == "play" && } !sp_valid && -(sp_state "bid" || sp_state == "play") && +(sp_state == "bid" || sp_state == "play") && /^\.(bid|play)\>/ { if (sp_from in sp_players) say(".slap " FROM ", it is not your turn.") -- 2.43.2