mirror of
https://bitbucket.org/s_l_teichmann/mtsatellite
synced 2024-12-23 08:40:18 +01:00
Name players correctly.
This commit is contained in:
parent
db45013f4e
commit
6ffa0e1001
@ -28,7 +28,7 @@ type connection struct {
|
|||||||
|
|
||||||
type msg struct {
|
type msg struct {
|
||||||
Tiles []xz `json:"tiles,omitempty"`
|
Tiles []xz `json:"tiles,omitempty"`
|
||||||
Pls []*player `json:"pls,omitempty"`
|
Pls []*player `json:"players,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func newWebsocketForwarder() *websocketForwarder {
|
func newWebsocketForwarder() *websocketForwarder {
|
||||||
|
@ -200,7 +200,7 @@ func (btc *BaseTileCreator) WriteFunc(i, j int, update BaseTileUpdateFunc) func(
|
|||||||
return true, SaveAsPNGAtomic(path, image)
|
return true, SaveAsPNGAtomic(path, image)
|
||||||
}
|
}
|
||||||
|
|
||||||
log.Printf("(%d, %d) is unchanged.\n", x, z)
|
//log.Printf("(%d, %d) is unchanged.\n", x, z)
|
||||||
return false, nil
|
return false, nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user