- # timeout so browser will stop showing that we're loading
- timeout 1, init_card_designer
- timeout 1, poll_for_updates
- timeout 2, ->
+ # timeouts are so browser will stop showing that we're loading
+ if is_new_game
+ timeout 1, ->
+ tell_server ['new_game', state.slug, state.agent]
+ timeout 2, init_card_designer
+ timeout 3, poll_for_updates
+ timeout 4, ->