OSDN Git Service

bug fixed. "GAME *" after "GAME -" failed.
authornabeken <nabeken@b8c68f68-1e22-0410-b08e-880e1f8202b4>
Mon, 19 Jul 2004 04:08:37 +0000 (04:08 +0000)
committernabeken <nabeken@b8c68f68-1e22-0410-b08e-880e1f8202b4>
Mon, 19 Jul 2004 04:08:37 +0000 (04:08 +0000)
shogi-server

index 4782f70..65824bd 100755 (executable)
@@ -101,7 +101,7 @@ class League
     @players.each do |name, player|
       if ((player.status == status) &&
           (player.game_name == game_name) &&
-          ((player.sente == nil) || (player.sente == sente)) &&
+          ((sente == nil) || (player.sente == nil) || (player.sente == sente)) &&
           ((searcher == nil) || (player != searcher)))
         return player
       end