changeset 8:cf757c4466b8

Status formatting.
author Mikhail Kryshen <mikhail@kryshen.net>
date Mon, 16 Jul 2012 07:50:02 +0400
parents 64334b3d9236
children 2efb0973ab83
files src/net/kryshen/charamega/game.mirah
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/net/kryshen/charamega/game.mirah	Mon Jul 16 07:16:44 2012 +0400
+++ b/src/net/kryshen/charamega/game.mirah	Mon Jul 16 07:50:02 2012 +0400
@@ -217,11 +217,11 @@
       sb.append 'Scores: '
       @matches.length.times do |i|
         sb.append ', '  if i > 0
-        sb.append '('  if i == @player
+        sb.append '('  if @playing and i == @player
         sb.append String.valueOf(@matches[i])
-        sb.append ')'  if i == @player
+        sb.append ')'  if @playing and i == @player
       end
-      sb.append ". "
+      sb.append ".  "
 
       if finished?
         w = winner