Skip to content

Commit

Permalink
Player joins as side msg shared to all.
Browse files Browse the repository at this point in the history
  • Loading branch information
riverwanderer committed Sep 30, 2023
1 parent 621e94b commit c5a25b4
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -496,6 +496,8 @@ public void finish() {
if (GameModule.getGameModule().isMultiplayerConnected()) {
final Command c = new Chatter.DisplayText(GameModule.getGameModule().getChatter(), Resources.getString(GlobalOptions.getInstance().chatterHTMLSupport() ? "PlayerRoster.joined_side_2" : "PlayerRoster.joined_side", GameModule.getGameModule().getPrefs().getValue(GameModule.REAL_NAME), translateSide(newSide)));
c.execute();
GameModule.getGameModule().getServer().sendToOthers(c);

}

final Add a = new Add(this, GameModule.getActiveUserId(), GlobalOptions.getInstance().getPlayerId(), newSide);
Expand Down Expand Up @@ -1149,4 +1151,4 @@ public void validate(Buildable target, ValidationReport report) {
}
}
}
}
}

0 comments on commit c5a25b4

Please sign in to comment.