Bug fixes and correct answer count in results

This commit is contained in:
Mawoka
2025-10-25 22:49:02 +02:00
parent 932f8dfbcf
commit caa2a6002f
37 changed files with 164 additions and 157 deletions
@@ -18,12 +18,7 @@ SPDX-License-Identifier: MPL-2.0
cqc_code: string;
}
let {
game_pin,
players = $bindable(),
socket,
cqc_code = $bindable()
}: Props = $props();
let { game_pin, players = $bindable(), socket, cqc_code = $bindable() }: Props = $props();
let fullscreen_open = $state(false);
const { t } = getLocalization();
@@ -97,7 +92,7 @@ SPDX-License-Identifier: MPL-2.0
<div>
<GrayButton
disabled={players.length < 1}
on:click={() => {
onclick={() => {
socket.emit('start_game', '');
}}
>{$t('admin_page.start_game')}