diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2025-07-30 14:30:33 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2025-07-30 14:31:59 +0200 |
| commit | 98553b28f49acf5866a660e0b2c47c960015dbc0 (patch) | |
| tree | 06f8018d95c932af992158e8178d47f8127145dd | |
| parent | 9a7accc4f9278df982a89d443624a5ee3ea72b79 (diff) | |
| download | muhqs-game-98553b28f49acf5866a660e0b2c47c960015dbc0.tar.gz muhqs-game-98553b28f49acf5866a660e0b2c47c960015dbc0.zip | |
initialize units with an available street action
| -rw-r--r-- | go/game/unit.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/go/game/unit.go b/go/game/unit.go index 670f189b..0d5faafe 100644 --- a/go/game/unit.go +++ b/go/game/unit.go @@ -55,6 +55,7 @@ func NewUnit(card *Card, tile *Tile, owner *Player) *Unit { Attack: attack, upkeep: upkeep, AvailMoveActions: DEFAULT_AVAIL_MOVE_ACTIONS, + AvailStreetActions: DEFAULT_AVAIL_STREET_ACTIONS, AvailAttackActions: DEFAULT_AVAIL_ATTACK_ACTIONS, } |
