Browse Source

normal init render order

Maxim Sokhatsky 11 years ago
parent
commit
4e9623b1f0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      apps/face/src/index.erl

+ 1 - 1
apps/face/src/index.erl

@@ -77,8 +77,8 @@ body() ->
 event(terminate) -> wf:info("terminate");
 event(init) ->
     {ok,GamePid} = game_session:start_link(self()),
-    event(join),
     event(attach),
+    event(join),
     ets:insert(globals,{wf:session_id(),GamePid}),
     put(game_session, GamePid);