graph: print info on loaded data only when developer enabled
This commit is contained in:
parent
abbc5bfc5a
commit
374cd015f9
1 changed files with 3 additions and 1 deletions
|
|
@ -196,7 +196,9 @@ template <typename U> bool BotStorage::load (SmallArray <U> &data, ExtenHeader *
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ctrl.msg ("Loaded Bots %s data v%d (Memory: %.2fMB).", type.name, hdr.version, static_cast <float> (data.capacity () * sizeof (U)) / 1024.0f / 1024.0f);
|
if (game.isDeveloperMode ()) {
|
||||||
|
ctrl.msg ("Loaded Bots %s data v%d (Memory: %.2fMB).", type.name, hdr.version, static_cast <float> (data.capacity () * sizeof (U)) / 1024.0f / 1024.0f);
|
||||||
|
}
|
||||||
file.close ();
|
file.close ();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue