nav: re-added goal history for a round in some reworked way

This commit is contained in:
jeefo 2023-06-14 19:36:46 +03:00
commit 04503963c5
No known key found for this signature in database
GPG key ID: 927BCA0779BEA8ED
6 changed files with 42 additions and 15 deletions

View file

@ -211,7 +211,7 @@ int BotControl::cmdCvars () {
}
for (const auto &cvar : game.getCvars ()) {
if (cvar.info.empty ()) {
if (cvar.info.empty () || !cvar.self || !cvar.self->ptr) {
continue;
}