Adjustments
[vchess.git] / client / src / views / Hall.vue
index c9a15ea..091c715 100644 (file)
@@ -479,7 +479,7 @@ export default {
       this.conn = null;
     },
     getRandomnessClass: function(pc) {
-      if (!pc.options.randomness) return {};
+      if (!Number.isInteger(pc.options.randomness)) return {};
       return {
         ["random-" + pc.options.randomness]: true
       };