aboutsummaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_client.cpp
diff options
context:
space:
mode:
authorcorarona <email@example.com>2020-11-05 11:54:23 +0100
committercorarona <email@example.com>2020-11-05 11:54:23 +0100
commit60a9ff6fff844671164a2e710554a2c782cc6c5a (patch)
tree9f8353211c80bed7e0c5a4919e237a075a9e3d21 /src/script/lua_api/l_client.cpp
parent3e16c3a78fff61c20e63ba730d15e94e3bb877b4 (diff)
downloaddragonfireclient-60a9ff6fff844671164a2e710554a2c782cc6c5a.tar.xz
api-screenshot: change function name to make_screenshot
Diffstat (limited to 'src/script/lua_api/l_client.cpp')
-rw-r--r--src/script/lua_api/l_client.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/script/lua_api/l_client.cpp b/src/script/lua_api/l_client.cpp
index 05bfcca52..21fb9b140 100644
--- a/src/script/lua_api/l_client.cpp
+++ b/src/script/lua_api/l_client.cpp
@@ -524,8 +524,8 @@ int ModApiClient::l_get_objects_inside_radius(lua_State *L)
return 1;
}
-//take_screenshot()
-int ModApiClient::l_take_screenshot(lua_State *L)
+//make_screenshot()
+int ModApiClient::l_make_screenshot(lua_State *L)
{
getClient(L)->makeScreenshot();
lua_pushboolean(L, true);