Fixed a bug that prevented the quirk testing window from actually testing quirks.
This commit is contained in:
parent
c019e45c7a
commit
0c2ef90f94
1 changed files with 7 additions and 2 deletions
|
@ -745,8 +745,13 @@ def kxhandleInput(ctx, text=None, flavor=None):
|
||||||
# Begin message processing.
|
# Begin message processing.
|
||||||
# We use 'text' despite its lack of processing because it's simpler.
|
# We use 'text' despite its lack of processing because it's simpler.
|
||||||
if should_quirk and not (is_action or is_ooc):
|
if should_quirk and not (is_action or is_ooc):
|
||||||
# Fetch the quirks we'll have to apply.
|
if flavor != "menus":
|
||||||
quirks = ctx.mainwindow.userprofile.quirks
|
# Fetch the quirks we'll have to apply.
|
||||||
|
quirks = ctx.mainwindow.userprofile.quirks
|
||||||
|
else:
|
||||||
|
# The quirk testing window uses a different set.
|
||||||
|
quirks = pesterQuirks(ctx.parent().testquirks())
|
||||||
|
|
||||||
try:
|
try:
|
||||||
# Do quirk things. (Ugly, but it'll have to do for now.)
|
# Do quirk things. (Ugly, but it'll have to do for now.)
|
||||||
# TODO: Look into the quirk system, modify/redo it.
|
# TODO: Look into the quirk system, modify/redo it.
|
||||||
|
|
Loading…
Reference in a new issue