Closed Coxcopi closed 2 years ago
The 'bare minimum' TypeScript example in the docs is missing the 'matchSignal' constant in the registerMatch function which would not work and throw an error upon compiling.
The 'register the matchhandler' section should look like this: // Register the match handler
initializer.registerMatch('lobby', { matchInit, matchJoinAttempt, matchJoin, matchLoop, matchLeave, matchTerminate, matchSignal });
This is how it currently looks (which throws an error if copied from the example):
initializer.registerMatch('lobby', { matchInit, matchJoinAttempt, matchJoin, matchLoop, matchLeave, matchTerminate });
Also, is there a better way of opening issues for the documentation, or is this the right way to go?
Thanks @Coxcopi , fixed 👍 .
You can report any issues or suggestions for the docs in our Forum - Documentation category.
Description
The 'bare minimum' TypeScript example in the docs is missing the 'matchSignal' constant in the registerMatch function which would not work and throw an error upon compiling.
Steps to Reproduce
Expected Result
The 'register the matchhandler' section should look like this: // Register the match handler
Actual Result
This is how it currently looks (which throws an error if copied from the example):
Also, is there a better way of opening issues for the documentation, or is this the right way to go?