diff options
author | kwolekr <kwolekr@minetest.net> | 2013-06-22 17:27:48 -0400 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2013-06-22 17:27:48 -0400 |
commit | 4d77781ce7cba571701e731b1f442af691933720 (patch) | |
tree | f5f4d419e774031c03031a91644de8e35af77835 /src/script/lua_api | |
parent | c1b829077a3518f3a129eee11887b2358a53f20b (diff) | |
download | minetest-4d77781ce7cba571701e731b1f442af691933720.tar.gz minetest-4d77781ce7cba571701e731b1f442af691933720.tar.bz2 minetest-4d77781ce7cba571701e731b1f442af691933720.zip |
A handful of minor fixes to various things
Diffstat (limited to 'src/script/lua_api')
-rw-r--r-- | src/script/lua_api/luaapi.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/script/lua_api/luaapi.cpp b/src/script/lua_api/luaapi.cpp index dea4ccf33..a5993fa47 100644 --- a/src/script/lua_api/luaapi.cpp +++ b/src/script/lua_api/luaapi.cpp @@ -674,7 +674,7 @@ int ModApiBasic::l_register_ore(lua_State *L) verbosestream << "register_ore: ore '" << ore->ore_name << "' registered" << std::endl; - return 0; + return 1; } // register_decoration({lots of stuff}) @@ -793,7 +793,7 @@ int ModApiBasic::l_register_decoration(lua_State *L) verbosestream << "register_decoration: decoration '" << deco->getName() << "' registered" << std::endl; - return 0; + return 1; } // create_schematic(p1, p2, probability_list, filename) @@ -841,7 +841,8 @@ int ModApiBasic::l_create_schematic(lua_State *L) dschem.applyProbabilities(&probability_list, p1); dschem.saveSchematicFile(ndef); - actionstream << "create_schematic: saved schematic file '" << dschem.filename << "'." << std::endl; + actionstream << "create_schematic: saved schematic file '" + << dschem.filename << "'." << std::endl; return 1; } |