bugfix: training units overwrites their values
authorxangelo <git@xangelo.ca>
Thu, 26 May 2022 17:34:39 +0000 (13:34 -0400)
committerxangelo <git@xangelo.ca>
Thu, 26 May 2022 17:34:44 +0000 (13:34 -0400)
commiteb5ad7ba9d5acdbfb1561f0b31483139977bf65c
treefd7e27e0de74f65bf064dec247d27579dd3fb404
parentbcc59b38666e68fe4824d93ad24c8c6c6494765d
bugfix: training units overwrites their values

When training units it was writing all unit values to null resulting in
you being unable to train any units.
src/render/unit-training.ts
src/repository/city.ts