Change function internal var name

Resolves: https://github.com/minetest/minetest_game/pull/3108#pullrequestreview-1980986984
This commit is contained in:
1F616EMO 2024-04-05 06:53:22 +08:00
parent d286226900
commit 3243b56992
No known key found for this signature in database
GPG Key ID: EF52EFA8E05859B2
1 changed files with 2 additions and 2 deletions

View File

@ -33,9 +33,9 @@ local function check_protection(pos, name, text)
return false
end
local function log_action(pos, name, text)
local function log_action(pos, name, action)
minetest.log("action", (name ~= "" and name or "A mod")
.. " " .. text .. " at " .. minetest.pos_to_string(pos) .. " with a bucket")
.. " " .. action .. " at " .. minetest.pos_to_string(pos) .. " with a bucket")
end
-- Register a new liquid