From fe3379ddb771b6ef013f4ecc10607797bebf0807 Mon Sep 17 00:00:00 2001 From: BPanther Date: Fri, 2 May 2014 08:16:06 +0200 Subject: [PATCH] missing lua ifdef --- src/gui/user_menue.cpp | 2 ++ 1 file changed, 2 insertions(+) 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);