mirror of
https://github.com/Melledy/LunarCore.git
synced 2026-02-04 15:05:07 +01:00
Fix not teleporting back to an anchor after quitting battle
This commit is contained in:
@@ -255,7 +255,7 @@ public class BattleService extends BaseGameService {
|
|||||||
case BATTLE_END_QUIT -> {
|
case BATTLE_END_QUIT -> {
|
||||||
updateStatus = false;
|
updateStatus = false;
|
||||||
// Only teleport back to anchor if stage is a random fight
|
// 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;
|
teleportToAnchor = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user