fix: restore music and voice on battle

This commit is contained in:
Kazhnuz 2020-08-02 21:00:09 +02:00
parent 242e90c803
commit 4bd178112f
2 changed files with 3 additions and 3 deletions

View file

@ -139,7 +139,7 @@ end
function HeroFighter:talk(name) function HeroFighter:talk(name)
local completename = self.name .. "_" .. name local completename = self.name .. "_" .. name
--self.assets.sfx[completename]:play() self.assets.sfx[completename]:play()
end end
-- DRAW FUNCTIONS -- DRAW FUNCTIONS

View file

@ -13,8 +13,8 @@ function BattleSystem:new()
self.assets:batchImport("scenes.battlesystem.assets") self.assets:batchImport("scenes.battlesystem.assets")
--self.assets:setMusic("assets/music/battle1.mp3") self.assets:setMusic("assets/music/battle1.mp3")
--self.assets:playMusic() self.assets:playMusic()
self:initManagers() self:initManagers()