Skip to content

Commit

Permalink
Reverse rotations.
Browse files Browse the repository at this point in the history
  • Loading branch information
freiksenet committed May 15, 2014
1 parent 3810922 commit 52c307e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Asteroids.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ var Game = React.createClass({
var latAcc;

if (inputHandler.leftOn) {
rotAcc = this.props.shipRotAcceleration;
rotAcc = -this.props.shipRotAcceleration;
} else if (inputHandler.rightOn) {
rotAcc = -this.props.shipRotAcceleration;
rotAcc = this.props.shipRotAcceleration;
} else if (rotVel > 0) {
rotAcc = -this.props.shipRotAcceleration;
} else if (rotVel < 0) {
Expand Down

0 comments on commit 52c307e

Please sign in to comment.