bevy14: Fix error with multiplying color by float
This commit is contained in:
parent
f8cb84ccb1
commit
82ff5491a6
|
@ -925,7 +925,7 @@ fn spawn_entities(
|
|||
if state.is_sun {
|
||||
let (r, g, b) = nature::star_color_index_to_rgb(0.656);
|
||||
actor.insert(materials.add(StandardMaterial {
|
||||
base_color: Color::srgb(r, g, b) * 13.0,
|
||||
base_color: Color::srgb(r * 13.0, g * 13.0, b * 13.0),
|
||||
unlit: true,
|
||||
..default()
|
||||
}));
|
||||
|
|
Loading…
Reference in a new issue