From c3fc993f5a5c2a004dce7a2d951e261146145681 Mon Sep 17 00:00:00 2001 From: Djeeberjr Date: Tue, 16 Nov 2021 02:39:40 +0100 Subject: [PATCH] added ";" for convar --- src/types/RetakesConfig.ts | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) 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(",")}"; ` }