1
0
Fork 0
mirror of https://github.com/bra1n/townsquare.git synced 2025-07-28 13:05:12 +00:00

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

View file

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