mirror of https://github.com/bra1n/townsquare.git
adding code doc comments to the sendPlayerPronoun method
This commit is contained in:
parent
2e930e6606
commit
0ffde84188
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue