Skip to content

Commit e815617

Browse files
committed
Fix russian roulette bug when guest loses
1 parent 68c554d commit e815617

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Entity/Game/Russianroulette.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ protected function gameAction(): ServerResponse
150150
$gameOutput .= Emoji::trophy() . ' <b>' . __("{PLAYER} won!", ['{PLAYER}' => '</b>' . $this->getUserMention($data['settings']['X']) . '<b>']) . '</b>';
151151

152152

153-
if ($data['settings']['X'] === 'host') {
153+
if ($data['settings']['O'] === 'host') {
154154
$this->data['players']['host'] = $this->data['players']['guest'];
155155
$this->data['players']['guest'] = null;
156156
} else {

0 commit comments

Comments
 (0)