level_state: forward keypressed to the player object

This commit is contained in:
flux@modeemi.fi 2014-10-18 14:37:58 +03:00 committed by Erkki Seppälä
parent 919acb04b1
commit 27cfa378f8

View file

@ -57,7 +57,7 @@ function level_state:keypressed(key, unicode)
current_level.reset = true
else
-- Do stuff
player:keypressed(key)
end
end