diff --git a/src/types/RetakesConfig.ts b/src/types/RetakesConfig.ts index a08f29d..bd1ec6e 100644 --- a/src/types/RetakesConfig.ts +++ b/src/types/RetakesConfig.ts @@ -61,18 +61,18 @@ class RetakesConfig { public toCvar(): string{ console.debug("THIS:") - return `mp_retake_ct_loadout_default_pistol_round "${this.ctPistol.toCvar()}" -mp_retake_t_loadout_default_pistol_round "${this.tPistol.toCvar()}" -mp_retake_ct_loadout_upgraded_pistol_round "${this.ctUpgradedPistol.toCvar()}" -mp_retake_t_loadout_upgraded_pistol_round "${this.tUpgradedPistol.toCvar()}" -mp_retake_ct_loadout_light_buy_round "${this.ctLight.toCvar()}" -mp_retake_t_loadout_light_buy_round "${this.tLight.toCvar()}" -mp_retake_ct_loadout_full_buy_round "${this.ctFull.toCvar()}" -mp_retake_t_loadout_full_buy_round "${this.tFull.toCvar()}" -mp_retake_ct_loadout_bonus_card "${this.ctBonus.toCvar()}" -mp_retake_t_loadout_bonus_card "${this.tBonus.toCvar()}" -mp_retake_ct_loadout_bonus_card_availability "${this.ctBonusAvailability.join(",")}" -mp_retake_t_loadout_bonus_card_availability "${this.tBonusAvailability.join(",")}" + return `mp_retake_ct_loadout_default_pistol_round "${this.ctPistol.toCvar()}"; +mp_retake_t_loadout_default_pistol_round "${this.tPistol.toCvar()}"; +mp_retake_ct_loadout_upgraded_pistol_round "${this.ctUpgradedPistol.toCvar()}"; +mp_retake_t_loadout_upgraded_pistol_round "${this.tUpgradedPistol.toCvar()}"; +mp_retake_ct_loadout_light_buy_round "${this.ctLight.toCvar()}"; +mp_retake_t_loadout_light_buy_round "${this.tLight.toCvar()}"; +mp_retake_ct_loadout_full_buy_round "${this.ctFull.toCvar()}"; +mp_retake_t_loadout_full_buy_round "${this.tFull.toCvar()}"; +mp_retake_ct_loadout_bonus_card "${this.ctBonus.toCvar()}"; +mp_retake_t_loadout_bonus_card "${this.tBonus.toCvar()}"; +mp_retake_ct_loadout_bonus_card_availability "${this.ctBonusAvailability.join(",")}"; +mp_retake_t_loadout_bonus_card_availability "${this.tBonusAvailability.join(",")}"; ` }