Give me a scream corey
This commit is contained in:
parent
1aa45b2d57
commit
9b1d780bf9
1 changed files with 1 additions and 2 deletions
|
|
@ -37,7 +37,7 @@ pub fn gun_shooting_system(
|
||||||
gun.shoot_timer.tick(time.delta());
|
gun.shoot_timer.tick(time.delta());
|
||||||
|
|
||||||
if gun.shoot_timer.is_finished() == false || gun.shoot == false {
|
if gun.shoot_timer.is_finished() == false || gun.shoot == false {
|
||||||
return;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
let mut bullet_transform = transform.clone();
|
let mut bullet_transform = transform.clone();
|
||||||
|
|
@ -53,7 +53,6 @@ pub fn gun_shooting_system(
|
||||||
Factions::PlayerFaction => projectile_sprite.player_projectile.clone(),
|
Factions::PlayerFaction => projectile_sprite.player_projectile.clone(),
|
||||||
}),
|
}),
|
||||||
));
|
));
|
||||||
|
|
||||||
gun.shoot_timer.reset();
|
gun.shoot_timer.reset();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue