benank / everyone.dance

A realtime score sharing system for Stepmania. ⚠️ NOTE: This service is deprecated and no longer works, but you can still self host it.
https://everyone.dance
GNU General Public License v3.0
15 stars 1 forks source link

Room has a white screen when only playing as P2 #22

Closed PizzaLovers007 closed 3 years ago

PizzaLovers007 commented 3 years ago

The client has a white screen when creating a room with only P2. I was able to see the code briefly, and joining the room on the website I see this in the logs:

Uncaught TypeError: Cannot read property 'song_info' of undefined
    at k.render (PlayerCard.js:189)
    at Vo (react-dom.production.min.js:187)
    at Uo (react-dom.production.min.js:186)
    at Vs (react-dom.production.min.js:269)
    at Cl (react-dom.production.min.js:250)
    at yl (react-dom.production.min.js:250)
    at vl (react-dom.production.min.js:250)
    at pl (react-dom.production.min.js:243)
    at react-dom.production.min.js:123
    at t.unstable_runWithPriority (scheduler.production.min.js:18)

Stepmania version: 5.0.12 Simply Love version: v4.9.1

benank commented 3 years ago

Thanks for this! I wasn't aware that you could only play as P2. Fixed now, and releasing as version 1.1.6!