From 652d77d30cd953ec67d304e5130a2e32db2ed716 Mon Sep 17 00:00:00 2001 From: tiltowait <208040+tiltowait@users.noreply.github.com> Date: Fri, 11 Aug 2023 16:46:00 -0700 Subject: [PATCH] Fix N/A - Mortal --- interface/header.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/interface/header.py b/interface/header.py index 4e8695e..d2f50fd 100644 --- a/interface/header.py +++ b/interface/header.py @@ -199,10 +199,11 @@ async def update_header( blush = int(blush) except ValueError: blush = blush.lower() - blush_options = {"yes": 1, "no": 0, "n/a - thin-blood": -1} - if (blush := blush_options.get(blush)) is None: + blush_options = {"yes": 1, "no": 0, "n/a - thin-blood": -1, "n/a - mortal": -1} + if blush not in blush_options: await inconnu.utils.error(ctx, f"Unknown Blush of Life option: `{blush}`.") return + blush = blush_options[blush] await inconnu.header.update_header(ctx, character, int(blush))