diff options
author | Loic Blot <loic.blot@unix-experience.fr> | 2017-06-19 00:00:55 +0200 |
---|---|---|
committer | Loic Blot <loic.blot@unix-experience.fr> | 2017-06-19 00:00:55 +0200 |
commit | 8f2e60a9619f3db2dea752626e778f753c0714bc (patch) | |
tree | 3b2c3733e60138f615a0a9b30131173c0438a8a4 /src/script/lua_api | |
parent | 4faaadc8d50d6ab7a19d22bd5a760c4b8321a51f (diff) | |
download | minetest-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.cpp | 2 |
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; } |