Added two new stack disciplines to LuaStack
This commit is contained in:
@@ -59,7 +59,7 @@ eng::string Gui::menu_debug_string() const {
|
||||
LuaDefine(gui_menu_item, "action,label", "add a menu item to the current gui") {
|
||||
Gui *gui = Gui::fetch_global_pointer(L);
|
||||
LuaArg laction, llabel;
|
||||
LuaStack LS(L, laction, llabel);
|
||||
LuaOldStack LS(L, laction, llabel);
|
||||
eng::string action = LS.ckstring(laction);
|
||||
eng::string label = LS.ckstring(llabel);
|
||||
if (!sv::has_prefix(action, "cb_")) {
|
||||
|
||||
Reference in New Issue
Block a user