From 14a7364c434584250e7cf9741966d585101eb8bb Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Thu, 16 Sep 2021 22:06:59 +0200 Subject: [PATCH] improvement: port to common game over --- sonic-radiance.love/scenes/battlesystem/init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sonic-radiance.love/scenes/battlesystem/init.lua b/sonic-radiance.love/scenes/battlesystem/init.lua index 91bd6e3..347e6c1 100644 --- a/sonic-radiance.love/scenes/battlesystem/init.lua +++ b/sonic-radiance.love/scenes/battlesystem/init.lua @@ -7,7 +7,7 @@ local MenuSystem = require "scenes.battlesystem.gui.menus.controller" local Turns = require "scenes.battlesystem.turns" local VictoryScreen = require "scenes.battlesystem.gui.screens.victory" -local GameOverScreen = require "scenes.battlesystem.gui.screens.gameover" +local GameOverScreen = require "game.modules.gui.gameover" local TweenManager = require "birb.classes.time" @@ -62,7 +62,7 @@ function BattleSystem:returnToOverworld(isFleeing) end function BattleSystem:looseBattle() - self.screen = GameOverScreen(self) + GameOverScreen(self) end function BattleSystem:haveMenus()