]> Pileus Git - ~andy/rhawk/commitdiff
Only match turn on the start of the line
authorAndy Spencer <andy753421@gmail.com>
Wed, 3 Apr 2013 07:19:51 +0000 (07:19 +0000)
committerAndy Spencer <andy753421@gmail.com>
Wed, 3 Apr 2013 07:19:51 +0000 (07:19 +0000)
spades.awk

index 3ea5e79d8f15513b66401edc777e3f184d77fa5c..fe4af0631f04fb91f402419dc0a2f16b4472c7d6 100644 (file)
@@ -556,7 +556,7 @@ sp_state == "play" &&
            sp_order[3] " took " int(sp_tricks[3]) "/" int(sp_bids[3]))
 }
 
-/\.turn/ && sp_state ~ "(play|bid)" {
+/^\.turn/ && sp_state ~ "(play|bid)" {
        _bids = sp_bidders()
        _pile = sp_pretty(sp_piles, FROM)
        if (sp_state == "bid" && !_bids)