From 5f10f28a063a212932ee949d31f597de9e74c634 Mon Sep 17 00:00:00 2001 From: cardboardtech <5953664+cardboardtech@users.noreply.github.com> Date: Tue, 1 Jun 2021 14:29:32 -0500 Subject: [PATCH] use existing runner? function to check side --- src/clj/game/core/pick_counters.clj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/clj/game/core/pick_counters.clj b/src/clj/game/core/pick_counters.clj index 00e073a656..5b62b133d9 100644 --- a/src/clj/game/core/pick_counters.clj +++ b/src/clj/game/core/pick_counters.clj @@ -1,6 +1,6 @@ (ns game.core.pick-counters (:require - [game.core.card :refer [get-card get-counters installed?]] + [game.core.card :refer [get-card get-counters installed? runner?]] [game.core.card-defs :refer [card-def]] [game.core.eid :refer [effect-completed make-eid complete-with-result]] [game.core.engine :refer [resolve-ability trigger-event-sync]] @@ -40,7 +40,7 @@ (= "Hivemind" (:title %))) true) (installed? %) - (= "Runner" (:side %)) + (runner? %) (pos? (get-counters % :virus)))} :effect (req (let [target (update! state :runner (update-in target [:counter :virus] dec)) selected-cards (update selected-cards (:cid target)