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 6a1eb77ea15a4a09b5d5c371c93c5941f4eb4ced..7b14c05b870e51ba841e4ff0a0feb9d25c09fae8 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.
 
         }