diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-11-17 16:21:17 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-11-29 19:13:49 +0200 |
commit | 1220b642ebf3c9a28b6eb88160ef63263fa00a44 (patch) | |
tree | fb19125f0c61d630b95d8a463395f6837e969bdd /src/script.cpp | |
parent | cc03718d3c492a401bbc4b071d0ae1f0c808de95 (diff) | |
download | minetest-1220b642ebf3c9a28b6eb88160ef63263fa00a44.tar.gz minetest-1220b642ebf3c9a28b6eb88160ef63263fa00a44.tar.bz2 minetest-1220b642ebf3c9a28b6eb88160ef63263fa00a44.zip |
Falling sand and gravel
Diffstat (limited to 'src/script.cpp')
-rw-r--r-- | src/script.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/script.cpp b/src/script.cpp index f58811090..16d8030d6 100644 --- a/src/script.cpp +++ b/src/script.cpp @@ -47,7 +47,9 @@ bool script_load(lua_State *L, const char *path) int ret = luaL_loadfile(L, path) || lua_pcall(L, 0, 0, 0); if(ret){ errorstream<<"Failed to load and run script from "<<path<<":"<<std::endl; + errorstream<<"[LUA] "<<std::endl; errorstream<<"[LUA] "<<lua_tostring(L, -1)<<std::endl; + errorstream<<"[LUA] "<<std::endl; lua_pop(L, 1); // Pop error message from stack return false; } |