Fix QuestApplyIf

master
Kevin Zheng 2022-01-04 16:44:42 -06:00
parent 2636a53e2d
commit 7778e47f0f
1 changed files with 2 additions and 2 deletions

View File

@ -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: