Tag rovers by the controlling account

This commit is contained in:
Marc Di Luzio 2020-07-24 22:22:32 +01:00
parent e840b3e47b
commit 6f2d67bd7c
5 changed files with 34 additions and 23 deletions

View file

@ -205,7 +205,7 @@ func (s *Server) LoadWorld() error {
// SpawnRoverForAccount spawns the rover rover for an account
func (s *Server) SpawnRoverForAccount(account string) (string, error) {
inst, err := s.world.SpawnRover()
inst, err := s.world.SpawnRover(account)
if err != nil {
return "", err
}