summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/rules.js b/rules.js
index f8a2aae..e1bddda 100644
--- a/rules.js
+++ b/rules.js
@@ -492,8 +492,7 @@ function card_name(c) {
return data.cards[c].name
}
-function player_name() {
- let p = player_index()
+function player_name(p) {
return data.scenarios[game.scenario].players[p].name
}