feat: allow bots to be added into the game even if no default spawn points (ref #511)

This commit is contained in:
jeefo 2024-01-21 00:59:15 +03:00
commit 05e10bae6e
No known key found for this signature in database
GPG key ID: 927BCA0779BEA8ED
6 changed files with 36 additions and 4 deletions

View file

@ -651,6 +651,7 @@ void BotConfig::loadCustomConfig () {
m_custom["C4ModelName"] = "c4.mdl";
m_custom["AMXParachuteCvar"] = "sv_parachute";
m_custom["CustomCSDMSpawnPoint"] = "view_spawn";
// custom initialization
if (openConfig ("custom", "Custom config file not found. Loading defaults.", &file)) {