Commit b8e4a3c2 authored by mercury233's avatar mercury233

fix empty cards count

parent db3f106b
......@@ -75,7 +75,7 @@ function playerinfo(player, mode) {
status = status + "Score: " + player.status.score + " " ;
if (mode != 2 || player.pos % 2 == 0)
status = status + "LP: "+ player.status.lp;
if (mode != 2)
if (mode != 2 && player.status.cards)
status = status + " Cards: "+ player.status.cards;
if (status != "")
info = info + " <em>(" + status + ")</em>";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment