aboutsummaryrefslogtreecommitdiff
path: root/src/script/lua_api
diff options
context:
space:
mode:
authorLoic Blot <loic.blot@unix-experience.fr>2017-06-19 00:00:55 +0200
committerLoic Blot <loic.blot@unix-experience.fr>2017-06-19 00:00:55 +0200
commit8f2e60a9619f3db2dea752626e778f753c0714bc (patch)
tree3b2c3733e60138f615a0a9b30131173c0438a8a4 /src/script/lua_api
parent4faaadc8d50d6ab7a19d22bd5a760c4b8321a51f (diff)
downloadminetest-8f2e60a9619f3db2dea752626e778f753c0714bc.tar.gz
minetest-8f2e60a9619f3db2dea752626e778f753c0714bc.tar.bz2
minetest-8f2e60a9619f3db2dea752626e778f753c0714bc.zip
Client::makeScreenshot: remove device param
We already have the device param as class member
Diffstat (limited to 'src/script/lua_api')
-rw-r--r--src/script/lua_api/l_client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/lua_api/l_client.cpp b/src/script/lua_api/l_client.cpp
index b4dfe9174..84eafd3f0 100644
--- a/src/script/lua_api/l_client.cpp
+++ b/src/script/lua_api/l_client.cpp
@@ -327,7 +327,7 @@ int ModApiClient::l_get_node_def(lua_State *L)
int ModApiClient::l_take_screenshot(lua_State *L)
{
Client *client = getClient(L);
- client->makeScreenshot(client->getDevice());
+ client->makeScreenshot();
return 0;
}