Fix balloon pop timeout

This commit is contained in:
Dragon Fire
2020-05-07 16:57:21 -04:00
parent 741afbc1e8
commit 762e5de525
+1 -1
View File
@@ -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) {