Remove helper function that was causing problems
This commit is contained in:
parent
b9193b0628
commit
40e0f98954
1 changed files with 0 additions and 21 deletions
|
|
@ -37,27 +37,6 @@ export class Team {
|
|||
};
|
||||
|
||||
|
||||
/**
|
||||
* Removes all players from the team.
|
||||
*/
|
||||
public removePlayers() {
|
||||
|
||||
// Reset the writer
|
||||
if (this.writer) {
|
||||
this.writer.team = null;
|
||||
this.writer.role = null;
|
||||
this.writer = null;
|
||||
};
|
||||
|
||||
// Reset all the guessers
|
||||
for (var player of this.guessers) {
|
||||
player.team = null;
|
||||
player.role = null;
|
||||
}
|
||||
this.guessers = [];
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Resets all the per-game data related to this team
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue