Skip to content

Commit

Permalink
Fix Secret Tracker doesn't track discovered secrets.
Browse files Browse the repository at this point in the history
Fix for issue #1327
  • Loading branch information
fmoraes74 committed Oct 14, 2023
1 parent 2fcc107 commit cf39e17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions HSTracker/Logging/Parsers/TagChangeActions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -495,9 +495,9 @@ struct TagChangeActions {
if copiedFrom > 0, let source = eventHandler.entities[copiedFrom], source.isInHand && !source.hasCardId {
BobsBuddyInvoker.instance(gameId: eventHandler.gameId, turn: eventHandler.turnNumber())?.updateOpponentHand(entity: source, copy: entity)
}
zoneChangeFromOther(eventHandler: eventHandler, id: id, rawValue: value, prevValue: prevValue, controller: controller, cardId: entity.info.latestCardId)
}

zoneChangeFromOther(eventHandler: eventHandler, id: id, rawValue: value, prevValue: prevValue, controller: controller, cardId: entity.info.latestCardId)

case .graveyard, .removedfromgame:
zoneChangeFromOther(eventHandler: eventHandler, id: id, rawValue: value, prevValue: prevValue,
controller: controller, cardId: entity.cardId)
Expand Down

0 comments on commit cf39e17

Please sign in to comment.