OSDN Git Service

* [shogi-server]
[shogi-server/shogi-server.git] / shogi_server / player.rb
index e9280de..5b5d7ea 100644 (file)
@@ -273,6 +273,7 @@ class Player < BasicPlayer
             array_str = str.split(",")
             move = array_str.shift
             additional = array_str.shift
+            comment = nil
             if /^'(.*)/ =~ additional
               comment = array_str.unshift("'*#{$1.toeuc}")
             end