diff options
Diffstat (limited to 'go/game/action.go')
| -rw-r--r-- | go/game/action.go | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/go/game/action.go b/go/game/action.go index 934f5645..fbcad0a7 100644 --- a/go/game/action.go +++ b/go/game/action.go @@ -216,16 +216,17 @@ func (a *AttackAction) String() string { type FullAction struct { ActionBase desc string + tag string } func NewFullAction(u *Unit, proto ActionFuncPrototype, desc string) *FullAction { a := &FullAction{ - ActionBase{ + ActionBase: ActionBase{ source: u, Card: u.Card(), }, - desc, + desc: desc, } a.resolveFunc = func(s *State) { @@ -250,7 +251,7 @@ func (a *FullAction) String() string { return fmt.Sprintf("↻ %s", a.desc) } - return fmt.Sprintf("%v: %s ↻@%v", u.Controller(), u.Card().Name, a.targets) + return fmt.Sprintf("%s: %s ↻@%v", u.Controller().Name, u.Card().Name, a.targets) } type FreeAction struct { |
