graph: do not spam about problem

nav: tweaked stuck values and timers
This commit is contained in:
jeefo 2025-01-31 19:58:28 +03:00
commit 9b80517eda
No known key found for this signature in database
GPG key ID: D696786B81B667C8
5 changed files with 17 additions and 4 deletions

View file

@ -85,7 +85,11 @@ template <typename U> bool BotStorage::load (SmallArray <U> &data, ExtenHeader *
if (tryReload ()) {
return true;
}
return error (isGraph, isDebug, file, "Unable to open %s file for reading (filename: '%s').", type.name, filename);
if (game.isDeveloperMode ()) {
return error (isGraph, isDebug, file, "Unable to open %s file for reading (filename: '%s').", type.name, filename);
}
return false;
}
// read the header