Minor improvement.
This commit is contained in:
parent
c1d280eaa1
commit
45954e5881
@ -107,7 +107,7 @@ void NetworkingLobby::eventCallback(Widget* widget, const std::string& name, con
|
|||||||
|
|
||||||
RibbonWidget* ribbon = dynamic_cast<RibbonWidget*>(widget);
|
RibbonWidget* ribbon = dynamic_cast<RibbonWidget*>(widget);
|
||||||
if (ribbon == NULL) return;
|
if (ribbon == NULL) return;
|
||||||
std::string selection = ribbon->getSelectionIDString(PLAYER_ID_GAME_MASTER);
|
const std::string &selection = ribbon->getSelectionIDString(PLAYER_ID_GAME_MASTER);
|
||||||
|
|
||||||
if (selection == m_exit_widget->m_properties[PROP_ID])
|
if (selection == m_exit_widget->m_properties[PROP_ID])
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user