From 53447469fd1f3db042ea6f783995b284c6d0c0c1 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Thu, 15 Mar 2018 11:14:08 +0100 Subject: [PATCH] Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 25 bytes modified --- 21g30t1e75.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/21g30t1e75.js b/21g30t1e75.js index 5115805..f99729d 100644 --- a/21g30t1e75.js +++ b/21g30t1e75.js @@ -211,7 +211,6 @@ GameLib.CustomCode.prototype.advanceSnake = function(delta) { backup.x = body.position.x; backup.y = body.position.y; - body.advance( this.state.orientation @@ -228,7 +227,7 @@ GameLib.CustomCode.prototype.advanceSnake = function(delta) { body.position.x = backup.x; body.position.y = backup.y; - body.position.orientation = backup.orientation; + body.orientation = backup.orientation; backup.x = temp.x; backup.y = temp.y;