From 8f2e60a9619f3db2dea752626e778f753c0714bc Mon Sep 17 00:00:00 2001 From: Loic Blot Date: Mon, 19 Jun 2017 00:00:55 +0200 Subject: Client::makeScreenshot: remove device param We already have the device param as class member --- src/script/lua_api/l_client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/script/lua_api') 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; } -- cgit v1.2.3