this.armorvalue = start_armorvalue;
this.weapons = start_weapons;
GiveRandomWeapons(this, random_start_weapons_count,
- cvar_string("g_random_start_weapons"), random_start_ammo);
+ autocvar_g_random_start_weapons, random_start_ammo);
}
SetSpectatee_status(this, 0);
float start_ammo_fuel;
/// \brief Number of random start weapons to give to players.
int random_start_weapons_count;
+/// \brief Holds a list of possible random start weapons.
+string autocvar_g_random_start_weapons;
/// \brief Entity that contains amount of ammo to give with random start
/// weapons.
entity random_start_ammo;