fail scoring fix

This commit is contained in:
Luxferre
2026-01-02 12:41:01 +02:00
parent f66d94b8b0
commit 9b3236af11
+2 -1
View File
@@ -152,7 +152,8 @@ def scoundrel():
score += last_potion_val score += last_potion_val
else: # fail else: # fail
for el in room: for el in room:
deck.insert(0, el) if el != ' ':
deck.insert(0, el)
for item in deck: for item in deck:
itemtype = item[0].upper() itemtype = item[0].upper()
itemval = int(item[1:]) itemval = int(item[1:])