Fixed stupid bug

This commit is contained in:
lustlion 2021-10-26 01:23:57 +02:00
parent f926723194
commit f59f74f9d6
1 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ Lights = {}
LightTimer = 0
function CreateDarkness()
return love.graphics.newCanvas(game.width/2, game.height/2)
return love.graphics.newCanvas(game.width, game.height)
end
function CreateLight(x,y,range)
@ -61,5 +61,5 @@ function DoBorder()
end
function DrawDarkness()
love.graphics.draw(Canvas.Darkness, 0, 0, 0, 1, 1)
love.graphics.draw(Canvas.Darkness, 0, 0, 0, 0.5, 0.5)
end