fix: reset music when starting a battle

This commit is contained in:
Kazhnuz 2021-04-03 10:56:35 +02:00
parent be54412284
commit 8c871d3444

View file

@ -20,6 +20,7 @@ function Encounter:action()
local ox, oy = self.world.cameras:getViewCoordinate(1)
game.cbs:startBattle("test", "testBattle", self.x - ox, self.y - oy)
self.world.encounter = self
self.scene.isPlaying = ""
end
function Encounter:drawCharset(charset, charId)