muffin v6.15
This commit is contained in:
parent
cb878047bb
commit
29d735e936
16 changed files with 116 additions and 110 deletions
|
@ -251,11 +251,11 @@ internal static class SinglePlayerDuty
|
|||
|
||||
public override ETaskResult Update()
|
||||
{
|
||||
if (targetManager.Target?.DataId == base.Task.DataId)
|
||||
if (targetManager.Target?.BaseId == base.Task.DataId)
|
||||
{
|
||||
return ETaskResult.TaskComplete;
|
||||
}
|
||||
IGameObject gameObject = objectTable.FirstOrDefault((IGameObject x) => x.DataId == base.Task.DataId);
|
||||
IGameObject gameObject = objectTable.FirstOrDefault((IGameObject x) => x.BaseId == base.Task.DataId);
|
||||
if (gameObject == null)
|
||||
{
|
||||
return ETaskResult.StillRunning;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue