]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/script.cpp
Add missing files for a previous commit
[dragonfireclient.git] / src / script.cpp
index f58811090e5d5e507ee298dba55f770dbde23cf7..16d8030d6eef7f712e3b7ccfb0e2df5e9d17300a 100644 (file)
@@ -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;
        }