Fix rated/debug battles

This commit is contained in:
Marty-D 2018-03-28 23:58:35 -04:00 committed by GitHub
parent 9796b3bfb5
commit 3049e0e172
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -258,12 +258,12 @@ class Format extends Effect {
* Whether or not debug battle messages should be shown.
* @type {boolean}
*/
this.debug = !!this.debug;
this.debug = this.debug;
/**
* Whether or not a format is played for ladder points.
* @type {boolean}
*/
this.rated = !!this.rated;
this.rated = this.rated;
/**
* Game type.
* @type {GameType}