diff options
Diffstat (limited to 'go/game/unit.go')
| -rw-r--r-- | go/game/unit.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/go/game/unit.go b/go/game/unit.go index b77c1974..2ab9fcf8 100644 --- a/go/game/unit.go +++ b/go/game/unit.go @@ -50,7 +50,7 @@ func NewUnit(card *Card, tile *Tile, owner *Player) *Unit { u := &Unit{ permanentBase: newPermanentBase(card, tile, owner), - Health: card.Values["health"].(int), + Health: int(card.Values["health"].(uint64)), Movement: movement, Attack: attack, upkeep: upkeep, |
