Merge branch 'chore/env-config-updates' of https://github.com/raphael-pinto/pokerogue into dev

This commit is contained in:
Raphaël Pinto 2024-05-06 18:41:25 +02:00
commit d32320a51d
2 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ import { Variant, variantData } from './data/variant';
import { Localizable } from './plugins/i18n';
import { STARTING_WAVE_OVERRIDE, OPP_SPECIES_OVERRIDE, SEED_OVERRIDE, STARTING_BIOME_OVERRIDE } from './overrides';
export const bypassLogin = import.meta.env.VITE_BYPASS_LOGIN === "1";
export const bypassLogin = Boolean(import.meta.env.VITE_BYPASS_LOGIN);
const DEBUG_RNG = false;
@ -112,7 +112,7 @@ export default class BattleScene extends SceneBase {
public gameSpeed: integer = 1;
public damageNumbersMode: integer = 0;
public showLevelUpStats: boolean = true;
public enableTutorials: boolean = import.meta.env.VITE_BYPASS_TUTORIAL === "1";
public enableTutorials: boolean = Boolean(import.meta.env.VITE_BYPASS_TUTORIAL);
public enableRetries: boolean = false;
public uiTheme: UiTheme = UiTheme.DEFAULT;
public windowType: integer = 0;

View File