Skip to content

Commit

Permalink
Add more keys to store_side
Browse files Browse the repository at this point in the history
  • Loading branch information
sigurdfdragon committed Mar 17, 2017
1 parent 6767705 commit 0ea5ae0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions data/lua/wml-tags.lua
Expand Up @@ -731,6 +731,11 @@ function wml_actions.store_side(cfg)
local container = t.__cfg
-- set values not properly handled by the __cfg
container.income = t.total_income
container.net_income = t.net_income
container.expenses = t.expenses
container.total_upkeep = t.total_upkeep
container.num_units = t.num_units
container.num_villages = t.num_villages
container.side = side_number
utils.vwriter.write(writer, container)
end
Expand Down

0 comments on commit 0ea5ae0

Please sign in to comment.