diff --git a/sonic-radiance.love/scenes/overworld/actors/player/team.lua b/sonic-radiance.love/scenes/overworld/actors/player/team.lua index 54d5779..fbb1361 100644 --- a/sonic-radiance.love/scenes/overworld/actors/player/team.lua +++ b/sonic-radiance.love/scenes/overworld/actors/player/team.lua @@ -18,6 +18,7 @@ end function Team:switchActiveCharacter() if (self.canChangeActive) then game.characters:setActiveCharacter() + self.active = game.characters:getActiveCharacterData() self.canChangeActive = false self.tweens:newTimer(0.3, "changeCharacter") self.tweens:newTween(0, 0.3, {activeVisible = self.activeVisible + 1}, "inQuad") @@ -27,7 +28,6 @@ end function Team:endCharacterSwitchAnimation() self.canChangeActive = true self.activeVisible = game.characters.active - self.active = game.characters:getActiveCharacterData() self:updateCurrentCharset() end