diff options
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; } |