From 7778e47f0f10015c5b9eaf9c9faff80915b63ee3 Mon Sep 17 00:00:00 2001 From: Kevin Zheng Date: Tue, 4 Jan 2022 16:44:42 -0600 Subject: [PATCH] Fix QuestApplyIf --- python/quests/QuestApplyIf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/quests/QuestApplyIf.py b/python/quests/QuestApplyIf.py index 3bcbf33e8..44be116db 100644 --- a/python/quests/QuestApplyIf.py +++ b/python/quests/QuestApplyIf.py @@ -29,10 +29,10 @@ def can_apply(player): return False if can_apply(player): - Crossfire.SetReturnValue(1) + Crossfire.SetReturnValue(0) else: # forbid applying - Crossfire.SetReturnValue(2) + Crossfire.SetReturnValue(1) msg = Crossfire.WhoAmI().Message if type(player) == Crossfire.Player: if msg is not None: