summaryrefslogtreecommitdiff
path: root/web/web_match.c
diff options
context:
space:
mode:
authorDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2022-05-20 01:38:05 -0700
committerDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2022-05-20 01:38:05 -0700
commita4f1e60ece6dac22c4d913fc70124873803f30ab (patch)
tree405793459509a17f37a1223196b9deaf71514ba7 /web/web_match.c
parent2886add52aeed172289f3bddd995eda0b0c92a67 (diff)
downloaddartboat-a4f1e60ece6dac22c4d913fc70124873803f30ab.tar.gz
dartboat-a4f1e60ece6dac22c4d913fc70124873803f30ab.tar.xz
web: add (incomplete) support for 3+ player matches
Diffstat (limited to 'web/web_match.c')
-rw-r--r--web/web_match.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/web_match.c b/web/web_match.c
index bdd049d..793aedd 100644
--- a/web/web_match.c
+++ b/web/web_match.c
@@ -72,7 +72,7 @@ int match_num_players()
if (state->mode == M_P)
return 1;
- return 2;
+ return state->num_players;
}
int match_winning_player()