From f998b53d79cac8a069e6ef09a662845f2347faed Mon Sep 17 00:00:00 2001 From: Shlomi Fish Date: Tue, 16 Jun 2020 22:35:59 +0300 Subject: [PATCH] fix ncards --- pysollib/hint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pysollib/hint.py b/pysollib/hint.py index 3c8b5c53..57e0b307 100644 --- a/pysollib/hint.py +++ b/pysollib/hint.py @@ -1107,7 +1107,7 @@ class FreeCellSolver_Hint(Base_Solver_Hint): src = ord(m.s[1]) dest = ord(m.s[2]) hints.append([ - 1, # ord(m.s[3]), + (ord(m.s[3]) if type_ == 0 else 1), (game.s.rows if (type_ in [0, 1, 4]) else game.s.reserves)[src], (game.s.rows[dest] if (type_ in [0, 2])