diff --git a/src/utils/debug.cpp b/src/utils/debug.cpp index 6c9c5e59b..3c21d9cf4 100644 --- a/src/utils/debug.cpp +++ b/src/utils/debug.cpp @@ -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; });