diff --git a/src/gui/user_menue.cpp b/src/gui/user_menue.cpp index 1149754df..81e021a2e 100644 --- a/src/gui/user_menue.cpp +++ b/src/gui/user_menue.cpp @@ -464,7 +464,9 @@ bool CUserMenu::showUserMenu(int button) if (games) delete games; if (tools) delete tools; if (scripts) delete scripts; +#if ENABLE_LUA if (lua) delete lua; +#endif if (menu) delete menu; InfoClock->enableInfoClock(true);