improvement: port to common game over

This commit is contained in:
Kazhnuz 2021-09-16 22:06:59 +02:00
parent 30389a2655
commit 14a7364c43

View file

@ -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()