level_state: forward keypressed to the player object
This commit is contained in:
parent
919acb04b1
commit
27cfa378f8
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ function level_state:keypressed(key, unicode)
|
|||
|
||||
current_level.reset = true
|
||||
else
|
||||
-- Do stuff
|
||||
player:keypressed(key)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue