From 9b3236af1155ecbf556f347ca9f5efb077a7f63e Mon Sep 17 00:00:00 2001 From: Luxferre Date: Fri, 2 Jan 2026 12:41:01 +0200 Subject: [PATCH] fail scoring fix --- game/scoundrel.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/game/scoundrel.py b/game/scoundrel.py index 3d85220..20f54a4 100644 --- a/game/scoundrel.py +++ b/game/scoundrel.py @@ -152,7 +152,8 @@ def scoundrel(): score += last_potion_val else: # fail for el in room: - deck.insert(0, el) + if el != ' ': + deck.insert(0, el) for item in deck: itemtype = item[0].upper() itemval = int(item[1:])