Server: Exec skill_[gamename].cfg as a fallback for skills

This commit is contained in:
Marco Cawthorne 2020-06-12 10:20:17 +02:00
parent bbad094cae
commit 5b34579e9b

View file

@ -248,6 +248,10 @@ void worldspawn(void)
lightstyle(9, "aaaaaaaazzzzzzzz");
lightstyle(10, "mmamammmmammamamaaamammma");
lightstyle(11, "abcdefghijklmnopqrrqponmlkjihgfedcba");
/* sometimes we have extra overrides that the original does not
provide. so we execute our mod-specific config here */
localcmd(sprintf("exec skill_%s.cfg\n", cvar_string("game")));
}
float ConsoleCmd(string cmd)