mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Fix #1516 Add else branch to allow for agent idling when no sound events
This commit is contained in:
parent
50fd55daef
commit
b590bc50d7
@ -32,6 +32,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
- Sites will now also be placed near the edge of the map
|
- Sites will now also be placed near the edge of the map
|
||||||
- Fix a bug causing NPCs to jitter on interaction and randomly run away.
|
- Fix a bug causing NPCs to jitter on interaction and randomly run away.
|
||||||
- Harvester boss arenas should be more accessible and easier to exit
|
- Harvester boss arenas should be more accessible and easier to exit
|
||||||
|
- Fix agents not idling
|
||||||
|
|
||||||
## [0.12.0] - 2022-02-19
|
## [0.12.0] - 2022-02-19
|
||||||
|
|
||||||
|
@ -2315,6 +2315,8 @@ impl<'a> AgentData<'a> {
|
|||||||
} else {
|
} else {
|
||||||
self.idle(agent, controller, read_data, rng);
|
self.idle(agent, controller, read_data, rng);
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
self.idle(agent, controller, read_data, rng);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user