Skip to content

Commit

Permalink
fix Spellbender graying out when hero is spell target
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Zeier committed Dec 4, 2015
1 parent e316526 commit 1d3b686
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ public void Handle(string logLine, IHsGameState gameState, IGame game)
{
int targetEntityId = actionEntity.GetTag(GAME_TAG.CARD_TARGET);
Entity targetEntity;
var targetsMinion = game.Entities.TryGetValue(targetEntityId, out targetEntity);
var targetsMinion = game.Entities.TryGetValue(targetEntityId, out targetEntity) && targetEntity.IsMinion;
gameState.GameHandler.HandlePlayerSpellPlayed(targetsMinion);
}
}
Expand Down

0 comments on commit 1d3b686

Please sign in to comment.