From b4d26e340a017c38dc9c2a0e2cd70a8de1d6509f Mon Sep 17 00:00:00 2001 From: deuce <> Date: Sat, 30 Jun 2012 13:53:56 +0000 Subject: [PATCH] Fix pass comparison. --- xtrn/hamtest/999-hamtest.ssjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xtrn/hamtest/999-hamtest.ssjs b/xtrn/hamtest/999-hamtest.ssjs index f0c90bf2cc..1143c37019 100644 --- a/xtrn/hamtest/999-hamtest.ssjs +++ b/xtrn/hamtest/999-hamtest.ssjs @@ -133,7 +133,7 @@ else { var pct = Math.floor(correct/(correct+wrong)*100); write('<h1>'+pct+'% '); - if(pct > test.pass) { + if(pct >= test.pass) { write('YOU PASSED'); if(test.honours != undefined && pct >= test.honours) write('WITH HONOURS'); -- GitLab