Fix server build

This commit is contained in:
Benau 2016-12-29 15:46:00 +08:00
parent 67b6c3bf05
commit bc2fb1da76

View File

@ -694,7 +694,9 @@ bool handleContextMenuAction(s32 cmd_id)
(const irr::core::stringw& text) {},
[] (GUIEngine::LabelWidget* lw, GUIEngine::TextBoxWidget* tb)->bool
{
#ifndef SERVER_ONLY
lw->setText(reloadTexture(tb->getText()), true);
#endif
// Don't close the dialog after each run
return false;
});