Buzzers are re-armed when a contestant is penalized

This commit is contained in:
Dane Johnson 2023-02-25 12:43:40 -06:00
parent 6fde22965c
commit d67d827404

View File

@ -98,6 +98,7 @@ def on_contestant_correct():
@socketio.on('contestant-incorrect') @socketio.on('contestant-incorrect')
def on_contestant_incorrect(): def on_contestant_incorrect():
session.game.buzzing_contestant.locked = True session.game.buzzing_contestant.locked = True
session.game.buzzers_armed = True
emit('contestant-penalized', to=session.room) emit('contestant-penalized', to=session.room)