Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -811,7 +811,7 @@ def play_page():
811
  unified_set("players", players)
812
 
813
  st.success(f"Joined game {gid} successfully!")
814
- st.experimental_rerun()
815
  else:
816
  st.info("Select a game and click 'Join Game'.")
817
  return
@@ -862,7 +862,7 @@ def play_page():
862
 
863
  st.session_state['current_index'] = idx + 1
864
  st.session_state['question_started_at'] = time.time()
865
- st.experimental_rerun()
866
 
867
  with col2:
868
  if idx == len(questions)-1:
 
811
  unified_set("players", players)
812
 
813
  st.success(f"Joined game {gid} successfully!")
814
+ st.rerun()
815
  else:
816
  st.info("Select a game and click 'Join Game'.")
817
  return
 
862
 
863
  st.session_state['current_index'] = idx + 1
864
  st.session_state['question_started_at'] = time.time()
865
+ st.rerun()
866
 
867
  with col2:
868
  if idx == len(questions)-1: