wxyz-abcd / node-haxball

The most powerful and lightweight API that allows you to develop your original Haxball(www.haxball.com) host, client, and standalone applications both on node.js and browser environments and also includes every possible hack and functionality that you can imagine.
MIT License
34 stars 13 forks source link

auth is null #7

Closed wxyz-abcd closed 1 year ago

wxyz-abcd commented 1 year ago

when you join a room, your auth is always null.

wxyz-abcd commented 1 year ago

The reason this was happening is that the original code did not wait for the auth generation Promise to be resolved while initializing the game. ready signal has been updated accordingly.