Merge pull request #365 from ninjatao/update_resource_display_on_unit_upgrade

Updates topbar display on unit upgrade.
This commit is contained in:
yairm210 2018-12-21 09:46:09 +02:00 committed by GitHub
commit 9ca77fa399
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -91,6 +91,7 @@ class UnitActions {
newunit.promotions = unit.promotions
newunit.updateUniques()
newunit.currentMovement = 0f
worldScreen.shouldUpdate = true
}.sound("upgrade")
}
}