aboutsummaryrefslogtreecommitdiff
path: root/src/script/lua_api
diff options
context:
space:
mode:
Diffstat (limited to 'src/script/lua_api')
-rw-r--r--src/script/lua_api/l_client.cpp4
-rw-r--r--src/script/lua_api/l_client.h4
2 files changed, 4 insertions, 4 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);
diff --git a/src/script/lua_api/l_client.h b/src/script/lua_api/l_client.h
index 04cc23041..1cac0ec1f 100644
--- a/src/script/lua_api/l_client.h
+++ b/src/script/lua_api/l_client.h
@@ -126,8 +126,8 @@ private:
// get_objects_inside_radius(pos, radius)
static int l_get_objects_inside_radius(lua_State *L);
- //take_screenshot()
- static int l_take_screenshot(lua_State *L);
+ //make_screenshot()
+ static int l_make_screenshot(lua_State *L);
public:
static void Initialize(lua_State *L, int top);