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:
Frank
2026-07-11 17:08:44 +02:00
parent 6db9d42852
commit 6fd0b5d993
+1
View File
@@ -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) {