mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-06 14:20:51 +02:00
Fix balloon pop timeout
This commit is contained in:
@@ -55,7 +55,7 @@ module.exports = class BalloonPopCommand extends Command {
|
||||
pump = await verify(msg.channel, user);
|
||||
}
|
||||
if (pump) {
|
||||
if (lastTurnTimeout) lastTurnTimeout = false;
|
||||
if (turns !== 1 && lastTurnTimeout) lastTurnTimeout = false;
|
||||
remains -= randomRange(25, 75);
|
||||
const popped = Math.floor(Math.random() * remains);
|
||||
if (popped <= 0) {
|
||||
|
||||
Reference in New Issue
Block a user