Fix [modify_side]reset_maps=true

I have no idea how this was missed...
This commit is contained in:
Celtic Minstrel 2021-02-22 09:52:56 -05:00 committed by GitHub
parent 9a5e33182f
commit 1dca42ca0e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -61,7 +61,7 @@ function wesnoth.wml_actions.modify_side(cfg)
side.shroud = cfg.shroud
end
if cfg.reset_maps then
wesnoth.remove_shroud(side.side, "all")
wesnoth.place_shroud(side.side, "all")
end
if cfg.fog ~= nil then
side.fog = cfg.fog