modified: app.py

modified:   templates/playerselect.html
This commit is contained in:
Simon
2025-11-15 01:37:14 +01:00
parent 081abe54c5
commit 47aaf76a57
2 changed files with 26 additions and 22 deletions

6
app.py
View File

@@ -239,11 +239,7 @@ def playerselect(playlist_id):
buzzer = request.args.get('buzzer', '0')
user = session.get('user')
# Wenn Buzzer-Modus, redirect zu Einstellungen
if buzzer == '1':
return redirect(url_for('buzzer_settings', playlist_id=playlist_id, mode=game_mode))
return render_template('playerselect.html', playlist_id=playlist_id, game_mode=game_mode, translations=get_translations(), user=user)
return render_template('playerselect.html', playlist_id=playlist_id, game_mode=game_mode, buzzer=buzzer, translations=get_translations(), user=user)
@app.route('/buzzer_settings/<playlist_id>')
def buzzer_settings(playlist_id):