Dark Forecast: Enemies that spawn on a village now take ownership of

that village.

Fixes #3890
This commit is contained in:
josteph 2019-02-09 12:49:28 +00:00
parent 2f54ecbc53
commit 05cd1521ff

View file

@ -239,6 +239,7 @@ local function place_units(unittypes, x, y)
})
local dst_x, dst_y = wesnoth.find_vacant_tile(x, y, u)
u:to_map(dst_x, dst_y)
wesnoth.set_village_owner(dst_x, dst_y, 1)
end
end