Skip to content

Commit

Permalink
fix location_set
Browse files Browse the repository at this point in the history
  • Loading branch information
CelticMinstrel committed Feb 22, 2021
1 parent 0a82095 commit 8b994bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/lua/location_set.lua
Expand Up @@ -95,7 +95,7 @@ function methods:insert(...)
self.values[index(loc.x, loc.y)] = v or true
end

function methods:remove(x, y)
function methods:remove(...)
local loc = wesnoth.map.read_location(...)
self.values[index(loc.x, loc.y)] = nil
end
Expand Down

0 comments on commit 8b994bd

Please sign in to comment.