fix: display message about missing camp points
Related to: https://github.com/yapb/yapb/issues/306
This commit is contained in:
parent
5d2a81f341
commit
e59ed4d48f
1 changed files with 5 additions and 1 deletions
|
|
@ -844,7 +844,11 @@ int BotControl::cmdNodeIterateCamp () {
|
||||||
m_campIterator.push (i);
|
m_campIterator.push (i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (!m_campIterator.empty ()) {
|
||||||
msg ("Ready for iteration. Type 'next' to go to first camp node.");
|
msg ("Ready for iteration. Type 'next' to go to first camp node.");
|
||||||
|
return BotCommandResult::Handled;
|
||||||
|
}
|
||||||
|
msg ("Unable to begin iteration, camp points is not set.");
|
||||||
}
|
}
|
||||||
return BotCommandResult::Handled;
|
return BotCommandResult::Handled;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue