fix: bots on csdm never respawning thus never resets their states (fixes #459)

This commit is contained in:
jeefo 2023-06-20 22:00:15 +03:00
commit 5a2d0748c0
No known key found for this signature in database
GPG key ID: 927BCA0779BEA8ED
2 changed files with 5 additions and 6 deletions

View file

@ -86,12 +86,6 @@ CR_EXPORT int GetEntityAPI (gamefuncs_t *table, int) {
// Spawn() function is one of the functions any entity is supposed to have in the game DLL,
// and any MOD is supposed to implement one for each of its entities.
auto bot = bots[ent];
if (bot) {
bot->spawned ();
}
// precache everything
game.precache ();