Dark Forecast: add placed units to the help

This commit is contained in:
sevu 2019-03-02 18:03:21 +01:00 committed by GitHub
parent 53baf3514a
commit 96e8880701
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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.add_known_unit(v)
wesnoth.set_village_owner(dst_x, dst_y, 1)
end
end