diff --git a/Mystery.py b/Mystery.py index a5fa811d..39a7f001 100644 --- a/Mystery.py +++ b/Mystery.py @@ -138,6 +138,8 @@ def roll_settings(weights): ret = argparse.Namespace() ret.name = get_choice('name') + if ret.name: + ret.name = ret.name.replace(" ", "-").replace("_", "-") glitches_required = get_choice('glitches_required') if glitches_required not in ['none', 'no_logic']: print("Only NMG and No Logic supported") diff --git a/Text.py b/Text.py index ac254287..4678411b 100644 --- a/Text.py +++ b/Text.py @@ -427,7 +427,6 @@ class CreditLine(object): @property def x(self): - x = 0 if self.align == 'left': x = 0 elif self.align == 'right':