mirror of
https://github.com/bakpakin/tiny-ecs.git
synced 2026-07-22 07:56:52 -06:00
Update demo to use tiny-ecs 2.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user