diff options
author | Aki <nthirtyone@gmail.com> | 2016-08-15 01:23:14 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2016-08-15 01:23:14 +0200 |
commit | 0e785f506b070b1dcd5587cc0641313daaa6e53b (patch) | |
tree | 2007916391c469bf0c47310062defe69b093bdc9 /controller.lua | |
parent | 49f485d298593526e1cdca5264e1b1b07b35b637 (diff) | |
download | roflnauts-0e785f506b070b1dcd5587cc0641313daaa6e53b.zip roflnauts-0e785f506b070b1dcd5587cc0641313daaa6e53b.tar.gz roflnauts-0e785f506b070b1dcd5587cc0641313daaa6e53b.tar.bz2 |
Game is almost working again
Diffstat (limited to 'controller.lua')
-rw-r--r-- | controller.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/controller.lua b/controller.lua index e0bdab1..53b1db9 100644 --- a/controller.lua +++ b/controller.lua @@ -59,6 +59,7 @@ end -- Checks if given action of given set is down function Controller.isDown(set, action) + if set == nil then return end if set.joystick == nil then return love.keyboard.isDown(set[action]) else |