aboutsummaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_rollback.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/script/lua_api/l_rollback.cpp')
-rw-r--r--src/script/lua_api/l_rollback.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/lua_api/l_rollback.cpp b/src/script/lua_api/l_rollback.cpp
index 6076399ae..d5abe176e 100644
--- a/src/script/lua_api/l_rollback.cpp
+++ b/src/script/lua_api/l_rollback.cpp
@@ -66,7 +66,7 @@ int ModApiRollback::l_rollback_revert_actions_by(lua_State *L)
lua_pushvalue(L, table);
lua_pushstring(L, i->c_str());
if(lua_pcall(L, 2, 0, 0))
- script_error(L, "error: %s", lua_tostring(L, -1));
+ script_error(L);
}
lua_remove(L, -2); // Remove table
lua_remove(L, -2); // Remove insert