Fix test by removing object before warping rover
This commit is contained in:
parent
b0ff3eb6ea
commit
edd3e5a6cb
1 changed files with 1 additions and 0 deletions
|
@ -138,6 +138,7 @@ func TestWorld_RoverDamage(t *testing.T) {
|
|||
Y: 0.0,
|
||||
}
|
||||
|
||||
world.Atlas.SetObject(pos, Object{Type: roveapi.Object_ObjectUnknown})
|
||||
err = world.WarpRover(a, pos)
|
||||
assert.NoError(t, err, "Failed to set position for rover")
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue