diff options
author | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2022-05-04 15:16:56 -0700 |
---|---|---|
committer | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2022-05-04 15:16:56 -0700 |
commit | df307f86ad32fcc841c770e8f5af72e8c0b80cfb (patch) | |
tree | 1881655a210d183ef775c1427906c765c1b14240 /web/web_match.c | |
parent | ba56ae56ebec73ca8ea966fde4bb385f911a6669 (diff) | |
download | dartboat-df307f86ad32fcc841c770e8f5af72e8c0b80cfb.tar.gz dartboat-df307f86ad32fcc841c770e8f5af72e8c0b80cfb.tar.xz |
web: abstract away most EM_ASM calls to dom file
Diffstat (limited to 'web/web_match.c')
-rw-r--r-- | web/web_match.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/web_match.c b/web/web_match.c index 47bc6e6..5f87f28 100644 --- a/web/web_match.c +++ b/web/web_match.c @@ -14,7 +14,7 @@ void free_state() state = NULL; } -bool is_match_over() +bool match_is_over() { return state->legs[0]->rem <= 0 || state->legs[1]->rem <= 0; } |