Force extra lineup to be set when validating a challenge instance during login

This commit is contained in:
Melledy
2023-10-30 00:08:54 -07:00
parent d5a3647820
commit dd9b126e9e

View File

@@ -160,6 +160,8 @@ public class ChallengeInstance {
public boolean validate(Player player) { public boolean validate(Player player) {
if (this.player == null) { if (this.player == null) {
this.player = player; this.player = player;
// Force extra lineup type to be set during login
this.player.getLineupManager().setCurrentExtraLineup(this.getCurrentExtraLineup(), false);
} }
this.excel = GameData.getChallengeExcelMap().get(this.challengeId); this.excel = GameData.getChallengeExcelMap().get(this.challengeId);