Skip to content

Commit

Permalink
Merge pull request #7 from panel-attack/adjust-spectator-mode-win/los…
Browse files Browse the repository at this point in the history
…e-screen-timeout

improve reliability of spectator mode
  • Loading branch information
jon12156 authored May 26, 2018
2 parents c7be35c + ba23a8f commit 32a2547
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion mainloop.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 32a2547

Please sign in to comment.