Skip to content

Commit

Permalink
Change function internal var name
Browse files Browse the repository at this point in the history
Resolves: #3108 (review)
  • Loading branch information
Emojigit committed Apr 4, 2024
1 parent d286226 commit 3243b56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mods/bucket/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3243b56

Please sign in to comment.