We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | // Send vote announcement to members of the player's council (war votes) |
45 | 45 | // or both races' councils (peace votes). |
46 | 46 | $councilMembers = Council::getRaceCouncil($player->getGameID(), |
47 | - $player->getRaceID()); |
|
47 | + $player->getRaceID()); |
|
48 | 48 | if ($type == 'PEACE') { |
49 | 49 | $otherCouncil = Council::getRaceCouncil($player->getGameID(), $race_id); |
50 | 50 | $councilMembers = array_merge($councilMembers, $otherCouncil); |
@@ -54,15 +54,15 @@ discard block |
||
54 | 54 | $color = ($type == 'PEACE' ? 'dgreen' : 'red'); |
55 | 55 | $type_fancy = "<span class=\"$color\">$type</span>"; |
56 | 56 | $message = $player->getLevelName() . " " . $player->getBBLink() |
57 | - . " has initiated a vote for $type_fancy with the [race=$race_id]!" |
|
58 | - . "You have " . format_time(TIME_FOR_COUNCIL_VOTE) |
|
59 | - . " to cast your vote."; |
|
57 | + . " has initiated a vote for $type_fancy with the [race=$race_id]!" |
|
58 | + . "You have " . format_time(TIME_FOR_COUNCIL_VOTE) |
|
59 | + . " to cast your vote."; |
|
60 | 60 | |
61 | 61 | foreach ($councilMembers as $accountID) { |
62 | 62 | // don't send to the player who started the vote |
63 | 63 | if ($player->getAccountID() != $accountID) { |
64 | 64 | SmrPlayer::sendMessageFromRace($player->getRaceID(), $player->getGameID(), |
65 | - $accountID, $message, $time); |
|
65 | + $accountID, $message, $time); |
|
66 | 66 | } |
67 | 67 | } |
68 | 68 |