mirror of
https://github.com/bra1n/townsquare.git
synced 2025-04-04 22:24:36 +00:00
adding code doc comments to the sendPlayerPronoun method
This commit is contained in:
parent
2e930e6606
commit
0ffde84188
1 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue