Commit d94ef0c9 authored by wind2009's avatar wind2009

Update CardExecutor.cs

修复func为null时卡死的bug
parent 348ac9ac
Pipeline #31322 passed with stage
in 1 minute and 9 seconds
......@@ -24,7 +24,7 @@ namespace WindBot.Game.AI
public Func<bool?> ConvertToNullableFunc(Func<bool> func)
{
return () => func();
return () => func == null || func();
}
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment