clean bst

This commit is contained in:
Sem van der Hoeven
2020-06-07 17:10:36 +02:00
parent 37cefd6d88
commit 749429b171
3 changed files with 138 additions and 120 deletions

View File

@@ -393,7 +393,7 @@ public class MainGame extends Game implements ClientCallback {
} else if (data instanceof TeamData) {
// check if it is not our own message
if (!((TeamData) data).getUsername().equals(this.username)) {
// if we have already chosen a faction, so we were first
// if we have not yet chosen a faction, select the opposing faction
TeamData teamData = (TeamData) data;
Faction enemyFaction = teamData.getFaction();
if (this.chosenFaction == null) {