adding code doc comments to the sendPlayerPronoun method

This commit is contained in:
Dave 2021-02-28 11:00:41 +00:00
parent 2e930e6606
commit 0ffde84188
1 changed files with 5 additions and 0 deletions

View File

@ -485,6 +485,11 @@ class LiveSession {
} }
} }
/**
* Publish a player pronoun update
* @param player
* @param pronoun
*/
sendPlayerPronoun({ player, pronoun }) { sendPlayerPronoun({ player, pronoun }) {
if (!this._isSpectator) return; if (!this._isSpectator) return;
const index = this._store.state.players.players.indexOf(player); const index = this._store.state.players.players.indexOf(player);