Tag rovers by the controlling account
This commit is contained in:
parent
e840b3e47b
commit
6f2d67bd7c
5 changed files with 34 additions and 23 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue