battery lasts 10x as long (for flashlight)
This commit is contained in:
parent
c5d744b280
commit
c8825fb99b
|
@ -271,7 +271,7 @@ pub fn update_power(
|
|||
let d = time.delta_seconds();
|
||||
for (mut battery, player) in &mut q_battery {
|
||||
if player.is_some() && settings.flashlight_active {
|
||||
battery.power -= 4000000.0 * d;
|
||||
battery.power -= 2400000.0 * d;
|
||||
if battery.power <= 0.0 {
|
||||
settings.flashlight_active = false;
|
||||
ew_sfx.send(audio::PlaySfxEvent(audio::Sfx::Switch));
|
||||
|
|
Loading…
Reference in a new issue