fix: reset music when starting a battle
This commit is contained in:
parent
be54412284
commit
8c871d3444
1 changed files with 1 additions and 0 deletions
|
@ -20,6 +20,7 @@ function Encounter:action()
|
||||||
local ox, oy = self.world.cameras:getViewCoordinate(1)
|
local ox, oy = self.world.cameras:getViewCoordinate(1)
|
||||||
game.cbs:startBattle("test", "testBattle", self.x - ox, self.y - oy)
|
game.cbs:startBattle("test", "testBattle", self.x - ox, self.y - oy)
|
||||||
self.world.encounter = self
|
self.world.encounter = self
|
||||||
|
self.scene.isPlaying = ""
|
||||||
end
|
end
|
||||||
|
|
||||||
function Encounter:drawCharset(charset, charId)
|
function Encounter:drawCharset(charset, charId)
|
||||||
|
|
Loading…
Reference in a new issue