fix typo invalid for loop end
authorsapier <Sapier at GMX dot net>
Thu, 14 Mar 2013 00:24:07 +0000 (00:24 +0000)
committerkwolekr <kwolekr@minetest.net>
Wed, 13 Mar 2013 23:42:05 +0000 (19:42 -0400)
src/scriptapi.cpp

index f95f5a29de908a48170e7cd9e119c90408c3403d..13696eabf1bec4a76d00af7b8ddc04ba86eb917a 100644 (file)
@@ -906,7 +906,7 @@ static int l_get_modnames(lua_State *L)
        {
                bool added = false;
                for(std::list<std::string>::iterator x = mods_sorted.begin();
-                   x != mods_unsorted.end(); ++x)
+                   x != mods_sorted.end(); ++x)
                {
                        // I doubt anybody using Minetest will be using
                        // anything not ASCII based :)