forked from mirrors/0ad
0b83e24065
The `onTick` of the register-page was still running when connecting to the lobby. This lead to an error when the `connect` message was received. With this commit returning from the login-page will always return to the entrance-page. Previously it returned to the register-page when it was opened by through that page.