Fix not teleporting back to an anchor after quitting battle

This commit is contained in:
Melledy 2023-12-31 03:16:18 -08:00
parent 09908ef381
commit 58c051fd9e

View File

@ -255,7 +255,7 @@ public class BattleService extends BaseGameService {
case BATTLE_END_QUIT -> {
updateStatus = false;
// Only teleport back to anchor if stage is a random fight
if (battle.getStage().getStageType() == StageType.Maze) {
if (battle.getStage().getStageType() == StageType.Mainline) {
teleportToAnchor = true;
}
}