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

This commit is contained in:
Celtic Minstrel 2018-03-30 11:05:58 -04:00 committed by GitHub
parent caf2dbe202
commit cfceec1d58
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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