game, refactor: improved player related code, fixed miss reset fields between games like commanderIds (#11081, #11628)

This commit is contained in:
Oleg Agafonov 2024-01-15 00:25:51 +04:00
parent a090a2a9d0
commit 6ac2f44cc1
7 changed files with 92 additions and 71 deletions

View file

@ -150,11 +150,6 @@ public class MatchPlayer implements Serializable {
// this.player = null;
}
public void cleanUp() {
// Free resources that are not needed after match end
this.player = null;
}
public String getName() {
return name;
}