Thorns: draw from random_source::entity(), which replaced dispenser::entity_random on main

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Horizon agentandClaude Opus 5.5 committed 2026-11-08 01:16:10 +01:00
1 parent 1d9f455dac
commit a3fd3597f4
1 file changed
+1 -1
@@ -525,7 +525,7 @@ impl Game<'_> {
pub(super) fn thorns_damage(&mut self) -> Vec<f32> {
let mut hits = Vec::new();
self.player_thorns(|_, min, max| {
hits.push(super::dispenser::entity_random().next_float() * (max - min) + min);
hits.push(random_source::entity().next_float() * (max - min) + min);
});
hits
}