Large refactor to properly implement radar
/radar now returns a set of non-empty tile blips
This commit is contained in:
parent
fc54775df9
commit
43648926ca
11 changed files with 182 additions and 50 deletions
|
@ -197,7 +197,7 @@ func HandleRadar(s *Server, vars map[string]string, b io.ReadCloser, w io.Writer
|
|||
|
||||
} else {
|
||||
fmt.Printf("Responded with radar\taccount:%s\tradar:%+v\n", id, radar)
|
||||
response.Rovers = radar.Rovers
|
||||
response.Blips = radar
|
||||
response.Success = true
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue