Show tips in result screen only for local games
This commit is contained in:
parent
4d0952c716
commit
8b50536aae
@ -145,8 +145,12 @@ void RaceResultGUI::init()
|
||||
}
|
||||
|
||||
#ifndef SERVER_ONLY
|
||||
core::stringw tips_string = _("Tip: ") + TipsManager::get()->getTip("race");
|
||||
MessageQueue::add(MessageQueue::MT_GENERIC, tips_string);
|
||||
if (!NetworkConfig::get()->isNetworking())
|
||||
{
|
||||
core::stringw tips_string = _("Tip: ");
|
||||
tips_string += TipsManager::get()->getTip("race");
|
||||
MessageQueue::add(MessageQueue::MT_GENERIC, tips_string);
|
||||
}
|
||||
#endif
|
||||
} // init
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user