Zemanzo / web-marbles

Aims to recreate Marble Racing from the ground up, as a fully web based game
https://playmarbl.es/
GNU General Public License v3.0
23 stars 12 forks source link

Newly logged in client marbles not recognised #206

Closed Qaomen closed 5 years ago

Qaomen commented 5 years ago

Expected behavior When a client logs in and enters a race, the client's marble is highlighted and/or tracked with the tracking camera.

Actual behavior The client's added marble is not treated as the client's marble (no different name colour or camera tracking), until the client refreshes the page.

Reproduction steps

  1. Ensure you are logged out and have refreshed the page.
  2. Log in.
  3. Type !marble or click the button that does this for you.
  4. The marble entered has the same appearance as any other marble until you refresh.

Additional context Likely, similar issues will occur if a client logs out and logs back in on a different account. This bug may also be related to #193 to some extent.