]> Pileus Git - ~andy/rhawk/commitdiff
Fall though to .join after .newgame
authorAndy Spencer <andy753421@gmail.com>
Sat, 20 Jul 2013 18:58:42 +0000 (18:58 +0000)
committerAndy Spencer <andy753421@gmail.com>
Sat, 20 Jul 2013 18:58:42 +0000 (18:58 +0000)
spades.awk

index 3433716990e1ae403d76c6812af01d8211ce0fe8..5cf5c05ec98d8dd6134fd00eadad965a482f7f05 100644 (file)
@@ -410,13 +410,13 @@ sp_state == "play" &&
        if (sp_state != "new") {
                reply("There is already a game in progress.")
        } else {
+               $1         = ".join"
                sp_owner   = FROM
                sp_playto  = $2 ? $2 : 200
                sp_limit   = sp_playto > 200 ? 10 : 5;
                sp_state   = "join"
                sp_channel = DST
                say(sp_owner " starts a game of Spades to " sp_playto " with " sp_limit " bags!")
-               #say("#rhnoise", sp_owner " starts a game of Spades in " DST "!")
        }
 }