mirror of
https://github.com/horizon-rust/horizon.git
synced 2026-11-10 02:21:33 -10:00
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:
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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user