Skip to content

Commit

Permalink
ghost trojans work on remote
Browse files Browse the repository at this point in the history
  • Loading branch information
NBKelly committed Nov 2, 2024
1 parent d9dfc0b commit 483e700
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cljs/nr/gameboard/board.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -1222,7 +1222,7 @@
(defn- find-hosted-programs
"finds all programs hosted on ice, and makes them have the 'ghost' key"
[servers]
(let [servers (concat [(:archives @servers) (:rd @servers) (:hq @servers)] (get-remotes @servers))
(let [servers (concat [(:archives @servers) (:rd @servers) (:hq @servers)] (map second (get-remotes @servers)))
ices (mapcat :ices servers)
hosted (mapcat :hosted ices)
hosted-programs (filter program? hosted)]
Expand Down

0 comments on commit 483e700

Please sign in to comment.