Browse Source

fix reveal numbers

Maxim Sokhatsky 11 years ago
parent
commit
2b293b5aa5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      apps/server/src/okey/okey_table.erl

+ 1 - 1
apps/server/src/okey/okey_table.erl

@@ -1327,7 +1327,7 @@ round_results(
         results = Results,
         results = Results,
         next_action = next_round}.
         next_action = next_round}.
 
 
-js_hack(Score) when Score < 0 -> Score * 1000000;
+js_hack(Score) when Score < 0 -> -Score * 1000000;
 js_hack(Score) -> Score.
 js_hack(Score) -> Score.
 
 
 create_okey_series_ended(Results, Players, Confirm,
 create_okey_series_ended(Results, Players, Confirm,