From 31fe72dbac3d53e8da21ef116ccf99febbc5196e Mon Sep 17 00:00:00 2001 From: ShadowNinja Date: Sat, 15 Mar 2014 16:28:59 -0400 Subject: Remove lua_State parameter from LuaError::LuaError --- src/script/lua_api/l_object.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/script/lua_api/l_object.cpp') diff --git a/src/script/lua_api/l_object.cpp b/src/script/lua_api/l_object.cpp index 059496c3d..90af51cc7 100644 --- a/src/script/lua_api/l_object.cpp +++ b/src/script/lua_api/l_object.cpp @@ -1120,7 +1120,7 @@ int ObjectRef::l_set_sky(lua_State *L) } if (type == "skybox" && params.size() != 6) - throw LuaError(L, "skybox expects 6 textures"); + throw LuaError("skybox expects 6 textures"); if (!getServer(L)->setSky(player, bgcolor, type, params)) return 0; -- cgit v1.2.3