OSDN Git Service

For ease to see in the players.yaml.
[shogi-server/shogi-server.git] / mk_rate
diff --git a/mk_rate b/mk_rate
index b50b8f6..44fa586 100755 (executable)
--- a/mk_rate
+++ b/mk_rate
@@ -235,7 +235,7 @@ def main
                yaml[p] = 
                        { 'name' => p.split("+")[0],
                    'rate' => rating.rate[i],
-                   'last_modified' => $players_time[p],
+                   'last_modified' => $players_time[p].dup,
                    'win'  => win_loss[0],
                    'loss' => win_loss[1]}
        end