Fixed stupid bug
This commit is contained in:
parent
f926723194
commit
f59f74f9d6
|
@ -2,7 +2,7 @@ Lights = {}
|
||||||
LightTimer = 0
|
LightTimer = 0
|
||||||
|
|
||||||
function CreateDarkness()
|
function CreateDarkness()
|
||||||
return love.graphics.newCanvas(game.width/2, game.height/2)
|
return love.graphics.newCanvas(game.width, game.height)
|
||||||
end
|
end
|
||||||
|
|
||||||
function CreateLight(x,y,range)
|
function CreateLight(x,y,range)
|
||||||
|
@ -61,5 +61,5 @@ function DoBorder()
|
||||||
end
|
end
|
||||||
|
|
||||||
function DrawDarkness()
|
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
|
end
|
Loading…
Reference in New Issue