Skip to content

Commit

Permalink
Rename hex:match -> hex:matches for consistency with unit and side mo…
Browse files Browse the repository at this point in the history
…dules
  • Loading branch information
CelticMinstrel committed Feb 18, 2021
1 parent 727163c commit 4fa92c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/lua/core.lua
Expand Up @@ -736,7 +736,7 @@ if wesnoth.kernel_type() == "Game Lua Kernel" then
return wesnoth.map.get_label(self.x, self.y, who)
end

function hex_mt:match(filter)
function hex_mt:matches(filter)
return wesnoth.map.matches_location(self.x, self.y, filter)
end

Expand Down

0 comments on commit 4fa92c7

Please sign in to comment.