Cleanup: Remove unused keyboard handler cleaning
authorMegaBrutal <code+git@megabrutal.com>
Thu, 28 Dec 2017 00:45:00 +0000 (01:45 +0100)
committerMegaBrutal <code+git@megabrutal.com>
Thu, 28 Dec 2017 00:45:00 +0000 (01:45 +0100)
modified:   ld40.js

ld40.js

diff --git a/ld40.js b/ld40.js
index 6a1eb77..7b14c05 100644 (file)
--- a/ld40.js
+++ b/ld40.js
             game.camera.follow(player);
             cursors = game.input.keyboard.createCursorKeys();
 
-            keyboard_handler = keyPress_default;
-
         }
 
         function update () {
             }
 
             if ((game.time.now - player.lastmovetime) > WAIT_KEY) player.body.velocity.x = player.body.velocity.y = 0;
-            if (keyboard_handler) keyboard_handler();
-
-        }
-
-        function keyPress_default() {
-
-            // Maybe needed later.
 
         }