Try to fix invalid string by store a copied of translation
This commit is contained in:
parent
a071e022a5
commit
91e1bd3fd1
@ -548,8 +548,8 @@ void ClientLobby::updatePlayerList(Event* event)
|
|||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
void ClientLobby::becomingServerOwner()
|
void ClientLobby::becomingServerOwner()
|
||||||
{
|
{
|
||||||
MessageQueue::add(MessageQueue::MT_GENERIC,
|
core::stringw msg = _("You are now the owner of server.");
|
||||||
_("You are now the owner of server."));
|
MessageQueue::add(MessageQueue::MT_GENERIC, msg);
|
||||||
STKHost::get()->setAuthorisedToControl(true);
|
STKHost::get()->setAuthorisedToControl(true);
|
||||||
if (m_state.load() == CONNECTED && NetworkConfig::get()->isAutoConnect())
|
if (m_state.load() == CONNECTED && NetworkConfig::get()->isAutoConnect())
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user