[Server] Code style

sol2-server-rewrite
Koncord 7 years ago
parent 44c549211e
commit e85d0db771

@ -114,8 +114,10 @@ void GUI::onGUIAction()
auto mbox = std::move(guiQueue.front().first); auto mbox = std::move(guiQueue.front().first);
auto callback = std::move(guiQueue.front().second); auto callback = std::move(guiQueue.front().second);
guiQueue.pop(); guiQueue.pop();
if (!guiQueue.empty()) if (!guiQueue.empty())
setChanged(); setChanged();
if (player->guiMessageBox.id != mbox.id) if (player->guiMessageBox.id != mbox.id)
{ {
LOG_MESSAGE_SIMPLE(Log::LOG_ERROR, "Wrong MessageBox id from %s(%d).", player->npc.mName, player->getId()); LOG_MESSAGE_SIMPLE(Log::LOG_ERROR, "Wrong MessageBox id from %s(%d).", player->npc.mName, player->getId());

Loading…
Cancel
Save