switch from single point to Event
This commit is contained in:
+1
-1
@@ -29,7 +29,7 @@ func main() {
|
||||
|
||||
dec := gob.NewDecoder(conn)
|
||||
for {
|
||||
point := robo.Point{}
|
||||
point := robo.Event{}
|
||||
err = dec.Decode(&point)
|
||||
if err != nil {
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user