summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--objects.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/objects.js b/objects.js
index 5de468b..897f14d 100644
--- a/objects.js
+++ b/objects.js
@@ -3204,7 +3204,7 @@ SpriteMorph.prototype.forward = function (steps) {
SpriteMorph.prototype.setHeading = function (degrees) {
var x = this.xPosition(),
y = this.yPosition(),
- dir = (+degrees || 90),
+ dir = (+degrees || 0),
turn = dir - this.heading;
// apply to myself