From ef9682bc43ffaee85d7a0e935776220f0e23e1fa Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Fri, 9 Mar 2018 15:25:55 +0100 Subject: [PATCH] Update: CC - SnailRunner - Entity Loaded (78gnds8jrj.js) 126 bytes modified --- 78gnds8jrj.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/78gnds8jrj.js b/78gnds8jrj.js index 61856e0..9cb27d1 100644 --- a/78gnds8jrj.js +++ b/78gnds8jrj.js @@ -147,6 +147,14 @@ GameLib.CustomCode.prototype.advanceCamera = function(delta) { } }.bind(this); +GameLib.CustomCode.prototype.adjustSpeed = function(delta) { + + if (this.speedUp) { + this.speed += delta; + } + +}.bind(this); + GameLib.Event.Subscribe( GameLib.Event.GAME_START, function() {