mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-22 10:19:11 +02:00
Fix
This commit is contained in:
@@ -49,6 +49,6 @@ module.exports = class DoorsCommand extends Command {
|
|||||||
}
|
}
|
||||||
|
|
||||||
emoji(door, noWin, win, chosen) {
|
emoji(door, noWin, win, chosen) {
|
||||||
return door === win && chosen ? '💰' : door === noWin ? '🔥' : door === chosen ? '🔥' : '🚪';
|
return door === win && chosen === win ? '💰' : door === noWin ? '🔥' : door === chosen ? '🔥' : '🚪';
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user