graph: do not show any warnings on analyzed maps (ref #726)
ctr: revert cvars to it's config value instead of hardcoded values (resolves #722)
This commit is contained in:
parent
97945966cd
commit
784ad5e303
8 changed files with 77 additions and 41 deletions
|
|
@ -636,7 +636,7 @@ int BotControl::cmdNodeErase () {
|
|||
|
||||
// prevent accidents when graph are deleted unintentionally
|
||||
if (arg <StringRef> (iamsure) == "iamsure") {
|
||||
bstor.unlinkFromDisk (false);
|
||||
bstor.unlinkFromDisk (false, false);
|
||||
}
|
||||
else {
|
||||
msg ("Please, append \"iamsure\" as parameter to get graph erased from the disk.");
|
||||
|
|
@ -647,7 +647,7 @@ int BotControl::cmdNodeErase () {
|
|||
int BotControl::cmdNodeEraseTraining () {
|
||||
enum args { graph_cmd = 1, cmd };
|
||||
|
||||
bstor.unlinkFromDisk (true);
|
||||
bstor.unlinkFromDisk (true, false);
|
||||
|
||||
return BotCommandResult::Handled;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue