mirror of
https://github.com/team2059/Zaphod
synced 2024-12-18 20:12:28 -05:00
Updated to force shooting at >15 power
This commit is contained in:
parent
616df6236e
commit
4d176a607d
@ -21,7 +21,7 @@ void ZaphodShooter::startShootingSequence(float throttle)
|
||||
//First step in shooting process
|
||||
void ZaphodShooter::shootForAngle(float power, float desiredAngle)
|
||||
{
|
||||
if(getAngle() <= desiredAngle)
|
||||
if(getAngle() <= desiredAngle && power >= 15)
|
||||
{
|
||||
shootRaw(power);
|
||||
e_ShooterState = FIRING;
|
||||
|
Loading…
Reference in New Issue
Block a user