Skip to content

Commit

Permalink
Merge pull request #7857 from NBKelly/ghost-trojans-work-on-remotes
Browse files Browse the repository at this point in the history
  • Loading branch information
NoahTheDuke authored Nov 2, 2024
2 parents 9b225ae + 483e700 commit f4e918c
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 f4e918c

Please sign in to comment.