Update demo to use tiny-ecs 2.

This commit is contained in:
Calvin Rose
2016-03-11 20:39:15 -05:00
parent 4f134e8aa3
commit 27a123f2d1
4 changed files with 352 additions and 200 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ end
function love.update(dt)
local s = gamestate.current()
if s and s.restartOnSpace and love.keyboard.isDown(" ") then
if s and s.restartOnSpace and love.keyboard.isDown("space") then
local TransitionScreen = require "src.entities.TransitionScreen"
world:add(TransitionScreen(true, Intro()))
end