From ba23a8f7a08e910d691e69a691afe51dc840bb3f Mon Sep 17 00:00:00 2001 From: Jon Willahan <32025765+jon12156@users.noreply.github.com> Date: Sat, 26 May 2018 11:17:03 -0600 Subject: [PATCH] improve reliability of spectator mode during the transition screen saying who won, the client doesn't listen for messages such as the game is starting. reduced that transition time for spectators to the minimum transition time for players. --- mainloop.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mainloop.lua b/mainloop.lua index c3d836b0..b6b20653 100644 --- a/mainloop.lua +++ b/mainloop.lua @@ -857,7 +857,11 @@ function main_net_vs() undo_stonermode() write_replay_file() json_send({game_over=true, outcome=outcome_claim}) - return main_dumb_transition, {main_net_vs_lobby, end_text, 45, 180} + if currently_spectating then + return main_dumb_transition, {main_net_vs_lobby, end_text, 45, 45} + else + return main_dumb_transition, {main_net_vs_lobby, end_text, 45, 180} + end end end end