mirror of
https://bitbucket.org/s_l_teichmann/mtsatellite
synced 2025-01-11 09:20:17 +01:00
Start with empty player list.
This commit is contained in:
parent
5d7b910a4d
commit
3f5bf6c240
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user