From 70650281435145a940b482cc25cdbcacae0bd7e2 Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Fri, 15 Feb 2019 18:54:22 +0100 Subject: [PATCH] scenes/boost: fix a wrong mention of the controller --- .../scenes/subgame/sonic-boost/controller/pause.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sonic-boost.love/scenes/subgame/sonic-boost/controller/pause.lua b/sonic-boost.love/scenes/subgame/sonic-boost/controller/pause.lua index 03a47a2..24f175b 100644 --- a/sonic-boost.love/scenes/subgame/sonic-boost/controller/pause.lua +++ b/sonic-boost.love/scenes/subgame/sonic-boost/controller/pause.lua @@ -50,7 +50,7 @@ function RestartWidget:new(menu, font) end function RestartWidget:action() - self.controller:restartLevel() + self.menu.controller:restartLevel() end function ExitWidget:new(menu, font)