Fix unintended change to the semantics of [modify_side]income=

(cherry-picked from commit 79bc18fe95)
This commit is contained in:
Celtic Minstrel 2018-03-30 11:05:31 -04:00 committed by GitHub
parent 23ba088e22
commit 0d1df0f2d7

View file

@ -39,7 +39,7 @@ function wesnoth.wml_actions.modify_side(cfg)
side.village_gold = cfg.village_gold
end
if cfg.income then
side.base_income = cfg.income
side.base_income = cfg.income + wesnoth.game_config.base_income
end
if cfg.gold then
side.gold = cfg.gold