diff --git a/LIBSCII.py b/LIBSCII.py index f6c5632..0ae607c 100644 --- a/LIBSCII.py +++ b/LIBSCII.py @@ -281,7 +281,7 @@ class Scii: else: intxt = input("Next message > ") if len(intxt) > 0: if intxt[0] == 'q': return - def ask_choice(self, text, choices): + def ask_choice(self, text, choices, portrait = None): choice = 0 while choice < 1 or choice > len(choices): newtext = text + "\n" @@ -290,7 +290,7 @@ class Scii: if c < len(choices): newtext += "{}:{}\n".format(c, i) else: newtext += "{}:{}".format(c, i) c += 1 - self.show_text(newtext) + self.show_text(newtext, portrait) try: choice = int(input("Choice > ")) except: choice = -1