Skip to content

Commit

Permalink
Merge pull request #228 from tam1m/custom_demos
Browse files Browse the repository at this point in the history
Prioritize all supported services over the 'custom' demo type
  • Loading branch information
bugdone authored Nov 24, 2019
2 parents 6fd7e36 + b399862 commit ba5b3a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hsbox/demo.clj
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@
(.contains (:servername demo) "CEVO") "cevo"
(.contains (:servername demo) "GamersClub") "gamersclub"
(.contains (:servername demo) "FACEIT.com") "faceit"
(.contains (file-name path) (get-demo-affix)) "custom"
(has_gotv_bot "ESEA") "esea"
(or (has_gotv_bot "Esportal.com - GOTV") (.contains (:servername demo) "Esportal.com")) "esportal")))
(or (has_gotv_bot "Esportal.com - GOTV") (.contains (:servername demo) "Esportal.com")) "esportal"
(.contains (file-name path) (get-demo-affix)) "custom")))

(defn split-by-game-restart [demo-events]
(->> demo-events
Expand Down

0 comments on commit ba5b3a0

Please sign in to comment.