Rename Type to ObjectType

This commit is contained in:
Marc Di Luzio 2020-07-19 11:47:19 +01:00
parent a0b811a659
commit 53d6ad08d9
2 changed files with 11 additions and 10 deletions

View file

@ -318,7 +318,7 @@ func (w *World) MoveRover(rover string, b maths.Bearing) (maths.Vector, error) {
}
// RoverStash will stash an item at the current rovers position
func (w *World) RoverStash(rover string) (atlas.Type, error) {
func (w *World) RoverStash(rover string) (atlas.ObjectType, error) {
w.worldMutex.Lock()
defer w.worldMutex.Unlock()