Dark Forecast: Enemies that spawn on a village now take ownership of
that village. Fixes #3890
This commit is contained in:
parent
2f54ecbc53
commit
05cd1521ff
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue