From b417eb5c6a3cc5729fd81a79301c27d725a08f45 Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Sun, 10 Feb 2019 20:00:48 +0100 Subject: [PATCH] core/menusystem: fix a crash --- sonic-boost.love/core/modules/menusystem/parent.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sonic-boost.love/core/modules/menusystem/parent.lua b/sonic-boost.love/core/modules/menusystem/parent.lua index 2a86ad9..ad91c32 100644 --- a/sonic-boost.love/core/modules/menusystem/parent.lua +++ b/sonic-boost.love/core/modules/menusystem/parent.lua @@ -64,10 +64,10 @@ end function Menu:draw() if self.canvas.needRedraw == true then - CScreen:cease() + core.screen:cease() self:drawCanvas() self.canvas.needRedraw = false - CScreen:apply() + core.screen:apply() end love.graphics.draw(self.canvas.texture, self.x, self.y)