mirror of
https://github.com/team2059/Zaphod
synced 2024-12-18 20:12:28 -05:00
Changed shooting code
This commit is contained in:
parent
ba8df23159
commit
232cb67950
@ -550,6 +550,10 @@ public:
|
||||
shooting = true;
|
||||
shootRobot(throttle);
|
||||
setMotorValue(6, 1, 1);
|
||||
}else{
|
||||
shooting = true;
|
||||
shootRobot(0.0f);
|
||||
setMotorValue(6, 1, 0);
|
||||
}
|
||||
//}}}
|
||||
} else if(Lstick.GetRawButton(2)==1) {
|
||||
|
Loading…
Reference in New Issue
Block a user