Skip to content

Commit

Permalink
fix threat function causing an infinite loop
Browse files Browse the repository at this point in the history
  • Loading branch information
francescopellegrini committed Feb 16, 2024
1 parent 3f8dee1 commit 7169037
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/clj/game/core/threat.clj
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

(defn threat
([threshold accept-ab]
(threat accept-ab nil))
(threat threshold accept-ab nil))
([threshold accept-ab reject-ab]
{:req (req true)
:async true
Expand Down

0 comments on commit 7169037

Please sign in to comment.