Skip to content

Commit 6e3bbb3

Browse files
committed
main correction
1 parent a440623 commit 6e3bbb3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

main.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ function love.keypressed(key)
7676

7777
if (key == "f") then
7878
--Luven.addFlashingLight(Luven.camera.x, Luven.camera.y, { 1.0, 0.0, 0.0 }, 1, 3)
79-
Luven.camera:setFade(3, { 0, 0, 0, 1 }, function() Luven.camera:setFade(3, { 0, 0, 0, 0 }) end)
79+
Luven.camera:setFade(3, { 1, 0, 0, 1 }, function() Luven.camera:setFade(3, { 0, 0, 0, 0 }) end)
8080
end -- if
8181

8282
if (key == "g") then
@@ -95,7 +95,7 @@ function love.draw()
9595
love.graphics.print("Current FPS: " .. tostring(love.timer.getFPS()), 10, 10)
9696
love.graphics.print("Number of lights: " .. tostring(Luven.getLightCount()), 10, 30)
9797

98-
Luven.camera:drawEffects()
98+
Luven.camera:draw()
9999
end -- function
100100

101101
function love.quit()

0 commit comments

Comments
 (0)