]> Pileus Git - ~andy/rhawk/commitdiff
Fix .look while passing cards
authorAndy Spencer <andy753421@gmail.com>
Sat, 18 May 2013 20:07:20 +0000 (20:07 +0000)
committerAndy Spencer <andy753421@gmail.com>
Sat, 18 May 2013 20:07:20 +0000 (20:07 +0000)
spades.awk

index ae7393a813a6998213b946dedc67a3cdb8d1ed3f..fa79e88dd6d27654ec8e3cce7a63934ef08d7f1d 100644 (file)
@@ -521,7 +521,7 @@ sp_state == "pass" &&
        }
 }
 
        }
 }
 
-sp_state ~ "(play|bid)" &&
+sp_state ~ "(bid|pass|play)" &&
 /^\.look$/ {
        if (!(sp_from in sp_players)) {
                say(".slap " FROM ", you are not playing.")
 /^\.look$/ {
        if (!(sp_from in sp_players)) {
                say(".slap " FROM ", you are not playing.")