From 27cfa378f899ae8d111ec91fb00a5a085b12f1a7 Mon Sep 17 00:00:00 2001 From: "flux@modeemi.fi" Date: Sat, 18 Oct 2014 14:37:58 +0300 Subject: [PATCH] level_state: forward keypressed to the player object --- level_state.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/level_state.lua b/level_state.lua index 92b1d8f..f233810 100644 --- a/level_state.lua +++ b/level_state.lua @@ -57,7 +57,7 @@ function level_state:keypressed(key, unicode) current_level.reset = true else - -- Do stuff + player:keypressed(key) end end