Skip to content

Commit

Permalink
Update AutoResolveBehaviorSettingsHelpDialog.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Scoppio committed Nov 19, 2024
1 parent c8e7f55 commit c993836
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion MekHQ/src/mekhq/MekHQ.java
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ public void gamePhaseChange(GamePhaseChangeEvent e) {
}

@Override
public void gameVictory(GameVictoryEvent gve) {
public void gameVictory(PostGameResolution gve) {
// Prevent double run
if (gameThread.stopRequested()) {
return;
Expand Down
6 changes: 3 additions & 3 deletions MekHQ/src/mekhq/campaign/ResolveScenarioTracker.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
import megamek.client.Client;
import megamek.common.*;
import megamek.common.annotations.Nullable;
import megamek.common.event.GameVictoryEvent;
import megamek.common.event.PostGameResolution;
import megamek.common.loaders.EntityLoadingException;
import megamek.common.options.OptionsConstants;
import megamek.logging.MMLogger;
Expand Down Expand Up @@ -91,7 +91,7 @@ public class ResolveScenarioTracker {
Optional<File> unitList = Optional.empty();
Client client;
Boolean control;
private GameVictoryEvent victoryEvent;
private PostGameResolution victoryEvent;

private static final MMLogger logger = MMLogger.create(ResolveScenarioTracker.class);

Expand Down Expand Up @@ -2142,7 +2142,7 @@ public boolean isLikelyCaptured() {
}
}

public void setEvent(GameVictoryEvent gve) {
public void setEvent(PostGameResolution gve) {
victoryEvent = gve;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ public class AutoResolveBehaviorSettingsHelpDialog extends AbstractHelpDialog {
"mekhq.resources.AutoResolveBehaviorSettingsDialog",
MekHQ.getMHQOptions().getLocale());


/**
* Creates a new instance of AutoResolveBehaviorSettingsHelpDialog.
* This screen opens a help dialog, using the megamek help dialog, which open an HTML file
Expand Down

0 comments on commit c993836

Please sign in to comment.