From 5aaa9f281fc199a9775643cce29f590ec626053e Mon Sep 17 00:00:00 2001 From: RealBadAngel Date: Wed, 10 Apr 2013 01:19:01 +0200 Subject: [PATCH] Fix bug in get_all_craft_recipes --- src/scriptapi_craft.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scriptapi_craft.cpp b/src/scriptapi_craft.cpp index 183eeb840..05b884957 100644 --- a/src/scriptapi_craft.cpp +++ b/src/scriptapi_craft.cpp @@ -417,7 +417,7 @@ int l_get_all_craft_recipes(lua_State *L) lua_pushvalue(L, table_insert); lua_pushvalue(L, table); lua_newtable(L); - int k = 0; + int k = 1; lua_newtable(L); for(std::vector::const_iterator i = input.items.begin();