From 873c7b14698a3133d3533b1154118c2d9d551e55 Mon Sep 17 00:00:00 2001 From: Simon Brooke Date: Mon, 8 Apr 2024 10:48:32 +0100 Subject: [PATCH] Beginning work on instantiating NPCs. --- src/wherefore_art_thou/core.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wherefore_art_thou/core.clj b/src/wherefore_art_thou/core.clj index 3b061bd..fabb05e 100644 --- a/src/wherefore_art_thou/core.clj +++ b/src/wherefore_art_thou/core.clj @@ -142,7 +142,7 @@ g' (if (keyword? gender) gender (:gender gender))] (or (when last-consonant? - (when g' + (when (keyword? g') (rand-nth (-> *genders* g' :suffixes)))) "")))