mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
8d98ade15e
When a sound was received in `idle_tree()`, awareness would be incremented, causing a call to `handle_elevated_awareness()`, which handled sounds heard. Instead, just `handle_sounds()` when they are heard and increment awareness as part of hearing them. The code more straightforwardly shows the agent first hearing a sound and then becoming more aware based on that. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |