From 2c22e9e26a5c44fc5aa9373e011f435010953504 Mon Sep 17 00:00:00 2001 From: lustlion Date: Sat, 26 Feb 2022 02:23:48 +0100 Subject: [PATCH] fix --- code/canvas.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/canvas.lua b/code/canvas.lua index 42722b7..0c033ac 100644 --- a/code/canvas.lua +++ b/code/canvas.lua @@ -14,7 +14,7 @@ end function Canvas:Recreate() self.canvas:release() - self = Canvas:New(self.name) + self.canvas = love.graphics.newCanvas(self.width,self.height) end function Canvas:Reset()