mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix
This commit is contained in:
@@ -49,6 +49,6 @@ module.exports = class DoorsCommand extends Command {
|
||||
}
|
||||
|
||||
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