diff --git a/pkg/game/world.go b/pkg/game/world.go index af0af11..626a4da 100644 --- a/pkg/game/world.go +++ b/pkg/game/world.go @@ -71,13 +71,10 @@ func (w *World) SpawnRover() (uuid.UUID, error) { Range: 5.0, // Set the name randomly - Name: babble.NewBabbler().Babble(), + Name: strings.ReplaceAll(babble.NewBabbler().Babble(), "'s", ""), }, } - // Dictionaries tend to include the possesive - strings.ReplaceAll(rover.Attributes.Name, "'s", "") - // Spawn in a random place near the origin rover.Attributes.Pos = vector.Vector{ X: w.Atlas.ChunkSize/2 - rand.Intn(w.Atlas.ChunkSize),