diff --git a/cmd/mtwebmapper/players.go b/cmd/mtwebmapper/players.go index 8a9ca92..323b11f 100644 --- a/cmd/mtwebmapper/players.go +++ b/cmd/mtwebmapper/players.go @@ -40,7 +40,7 @@ type players struct { } func newPlayers(fifo string, wsf *websocketForwarder) *players { - return &players{fifo: fifo, wsf: wsf} + return &players{fifo: fifo, wsf: wsf, pls: []*player{}} } func (p *player) MarshalJSON() ([]byte, error) {