Skip to content

Commit

Permalink
fix missing 'end'
Browse files Browse the repository at this point in the history
  • Loading branch information
Elkien3 committed Dec 13, 2022
1 parent 6e002a8 commit d88b3f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mods/vote/vote_government.lua
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ if areas and money3 then
local tax = math.ceil((diff/1000)*tax_rate*perc)
if tax > 0 then
warning[name] = minetest.pos_to_string(pos1)..minetest.pos_to_string(pos2)
minetest.after(60, function() if warning[name] and warning[name] == minetest.pos_to_string(pos1)..minetest.pos_to_string(pos2) then warning[name] = nil end)
minetest.after(60, function() if warning[name] and warning[name] == minetest.pos_to_string(pos1)..minetest.pos_to_string(pos2) then warning[name] = nil end end)
return false, "WARNING: The area you are trying to protect may charge you a tax of $"..tonumber(tax)..", repeat the command to proceed."
else
return val, errormsg
Expand Down

0 comments on commit d88b3f3

Please sign in to comment.