Browse Source

Make operation float

denikson 6 years ago
parent
commit
74c12d5ed7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      commands/facemorph.js

+ 1 - 1
commands/facemorph.js

@@ -103,7 +103,7 @@ function getPadoruChance() {
     let now = new Date();
     if(now.getUTCMonth() != 11 || now.getUTCDate() > 26)
         return 0;
-    return 1 / (26 - now.getUTCDate());
+    return 1 / (26.0 - now.getUTCDate());
 }
 
 async function processFaceSwap(message, attachmentUrl, processor, failMessage, successMessage) {