mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-27 16:00:00 +00:00
Dark Forecast: add placed units to the help
This commit is contained in:
parent
53baf3514a
commit
96e8880701
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user