mirror of
https://github.com/Anime-Game-Servers/AGSLunarCore.git
synced 2024-11-27 06:10:25 +00:00
Fix not teleporting back to an anchor after quitting battle
This commit is contained in:
parent
09908ef381
commit
58c051fd9e
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user