mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Merge branch 'james/fix-agent-idle' into 'master'
Fix #1516 Add else branch to allow for agent idling when no sound events Closes #1516 See merge request veloren/veloren!3319
This commit is contained in:
commit
fc0ecdbc22
@ -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
|
||||
- Fix a bug causing NPCs to jitter on interaction and randomly run away.
|
||||
- Harvester boss arenas should be more accessible and easier to exit
|
||||
- Fix agents not idling
|
||||
|
||||
## [0.12.0] - 2022-02-19
|
||||
|
||||
|
@ -2315,6 +2315,8 @@ impl<'a> AgentData<'a> {
|
||||
} else {
|
||||
self.idle(agent, controller, read_data, rng);
|
||||
}
|
||||
} else {
|
||||
self.idle(agent, controller, read_data, rng);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user