Fixed stupid bug
This commit is contained in:
parent
f926723194
commit
f59f74f9d6
|
@ -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
|
Loading…
Reference in New Issue