X-Git-Url: https://jasonwoof.com/gitweb/?p=peach-cgt.git;a=blobdiff_plain;f=client.coffee;h=6f8d230cdc62c1c2f6e616d6d4c5c2a2f3995f24;hp=63fd6c6d15137fabda6b1ed9316fa49758ec76b3;hb=17254bb57943dda8793cf80c37fb65db472de0ea;hpb=7797a9aab5a31f89b84ebc86c5a7bc3d12ef6602 diff --git a/client.coffee b/client.coffee index 63fd6c6..6f8d230 100644 --- a/client.coffee +++ b/client.coffee @@ -130,6 +130,9 @@ init = -> # timeout so browser will stop showing that we're loading timeout 1, poll_for_updates + timeout 2, -> + # ask for initial state + tell_server ['send_state', state.agent] $ -> $table = $ '#table'