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)