fix: restore music and voice on battle
This commit is contained in:
parent
242e90c803
commit
4bd178112f
2 changed files with 3 additions and 3 deletions
|
@ -139,7 +139,7 @@ end
|
|||
|
||||
function HeroFighter:talk(name)
|
||||
local completename = self.name .. "_" .. name
|
||||
--self.assets.sfx[completename]:play()
|
||||
self.assets.sfx[completename]:play()
|
||||
end
|
||||
|
||||
-- DRAW FUNCTIONS
|
||||
|
|
|
@ -13,8 +13,8 @@ function BattleSystem:new()
|
|||
|
||||
self.assets:batchImport("scenes.battlesystem.assets")
|
||||
|
||||
--self.assets:setMusic("assets/music/battle1.mp3")
|
||||
--self.assets:playMusic()
|
||||
self.assets:setMusic("assets/music/battle1.mp3")
|
||||
self.assets:playMusic()
|
||||
|
||||
self:initManagers()
|
||||
|
||||
|
|
Loading…
Reference in a new issue