1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Client::makeScreenshot: remove device param

We already have the device param as class member
This commit is contained in:
Loic Blot 2017-06-19 00:00:55 +02:00
parent 4faaadc8d5
commit 8f2e60a961
No known key found for this signature in database
GPG key ID: EFAA458E8C153987
5 changed files with 6 additions and 8 deletions

View file

@ -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;
}