Permalink
Browse files

live info player score fix

  • Loading branch information...
1 parent 05395a1 commit 3da76079dd7e511213ab5254ea255ad947bec6ff @dalkvist committed Mar 27, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/bf3/info.clj
View
@@ -43,6 +43,8 @@
info (let [info (take 14 (drop 1 posttags))]
(merge (->> info
(map #(Integer/toHexString %))
+ (map #(if (and (not= "0" %) (= 1 (count %)))
+ (str "0" %) %))
(#(vector (take 4 %) (take 2 (drop 4 %)) (take 2 (drop 6 %))))
(map #(reduce str %))
(map #(Integer/parseInt % 16))

0 comments on commit 3da7607

Please sign in to comment.