Skip to content

Commit

Permalink
Remove old repair logic
Browse files Browse the repository at this point in the history
  • Loading branch information
waicool20 committed Feb 19, 2024
1 parent d615753 commit 36abbc1
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,6 @@ class CombatModule(navigator: Navigator) : ScriptModule(navigator) {
return
}
}
// Cancel further execution if any of the dolls needed to repair but were not able to
wasCancelled = gameState.echelons.any { it.needsRepairs() }
if (wasCancelled) return

navigator.navigateTo(LocationId.COMBAT)
val map = map as CombatMap.StoryMap
Expand Down Expand Up @@ -227,10 +224,6 @@ class CombatModule(navigator: Navigator) : ScriptModule(navigator) {

updateEchelonRepairStatus(1)

val echelon1Members = gameState.echelons[0].members.map { it.name }
wasCancelled =
profile.combat.draggers.none { TDoll.lookup(config, it.id)?.name in echelon1Members }

// Sometimes update echelon repair status reads the old dolls name because old doll is still
// on screen briefly after the switch
if (scriptStats.sortiesDone >= 1 && gameState.echelons[0].members[slot - 1].name != tdoll.name) {
Expand Down

0 comments on commit 36abbc1

Please sign in to comment.