Skip to content

Commit

Permalink
fix wml tags using side.controller 3
Browse files Browse the repository at this point in the history
  • Loading branch information
gfgtdf committed May 28, 2017
1 parent 6cfe159 commit b3be886
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/lua/wml-utils.lua
Expand Up @@ -72,7 +72,7 @@ function utils.optional_side_filter(cfg, key_name, filter_name)
end
local sides = utils.get_sides(cfg, key_name, filter_name)
for index,side in ipairs(sides) do
if side.controller == "human" then
if side.controller == "human" and side.is_local then
return true
end
end
Expand Down

0 comments on commit b3be886

Please sign in to comment.