Grant rm right alongside sudo when player 1 decodes their message
rm was checked everywhere but never actually added to any player's rights, so the command was unreachable until now.
This commit is contained in:
@@ -550,6 +550,7 @@ class GameResponseService
|
||||
|
||||
if ($decodeMessage === DecodeMessage::PLAYER_1) {
|
||||
$this->grantRightToAllPlayers($player->getSession(), 'sudo');
|
||||
$this->grantRightToAllPlayers($player->getSession(), 'rm');
|
||||
}
|
||||
|
||||
if ($decodeMessage === DecodeMessage::PLAYER_2) {
|
||||
|
||||
Reference in New Issue
Block a user