bot: enable speech at server startup for xash3d (#522)
This commit is contained in:
parent
e110419c2f
commit
734eb82fba
1 changed files with 1 additions and 3 deletions
|
|
@ -271,9 +271,7 @@ void BotSupport::checkWelcome () {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (m_welcomeReceiveTime > 0.0f && m_welcomeReceiveTime < game.time () && needToSendMsg) {
|
if (m_welcomeReceiveTime > 0.0f && m_welcomeReceiveTime < game.time () && needToSendMsg) {
|
||||||
if (!game.is (GameFlags::Mobility | GameFlags::Xash3D)) {
|
game.serverCommand ("speak \"%s\"", m_sentences.random ());
|
||||||
game.serverCommand ("speak \"%s\"", m_sentences.random ());
|
|
||||||
}
|
|
||||||
String authorStr = "Official Navigation Graph";
|
String authorStr = "Official Navigation Graph";
|
||||||
|
|
||||||
auto graphAuthor = graph.getAuthor ();
|
auto graphAuthor = graph.getAuthor ();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue