Closed Peatral closed 3 years ago
If you want to get the user right after initializing discord, you will get an empty dictionary, because the user gets updated short after. Adding this signal helps you to get the user data as soon as it is ready.
I think, instead of getting the user from the manager every time the local_user_updated is emitted, I'd better pass the user in the function, I don't know if this workflow be better.
peer is not spelled "perr" ;P
(btw, I realized a year ago that I would have to implement a multiplayer peer on my own and because I have no real clue how c++ works I am happy that someone else did it 👍)