aboutsummaryrefslogtreecommitdiff
path: root/uis/interactive.go
diff options
context:
space:
mode:
Diffstat (limited to 'uis/interactive.go')
-rw-r--r--uis/interactive.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/uis/interactive.go b/uis/interactive.go
index 8210122..5e7994e 100644
--- a/uis/interactive.go
+++ b/uis/interactive.go
@@ -36,7 +36,7 @@ func (i *Interactive) init() {
if err != nil {
break
}
- i.players = append(i.players, Player{name, NewScore()})
+ i.players = append(i.players, NewPlayer(name))
count++
}