muffin v6.35 with old pdb

This commit is contained in:
alydev 2025-10-29 06:52:53 +10:00
parent ac85599236
commit b5d2cc6708
31 changed files with 958 additions and 958 deletions

View file

@ -83,10 +83,10 @@ internal static class SinglePlayerDuty
private unsafe bool DutyActionsAvailable()
{
ContentDirector* contentDirector = EventFramework.Instance()->GetContentDirector();
if (contentDirector != null)
ContentDirector* nodeCondition = EventFramework.Instance()->GetContentDirector();
if (nodeCondition != null)
{
return contentDirector->DutyActionManager.ActionsPresent;
return nodeCondition->DutyActionManager.ActionsPresent;
}
return false;
}
@ -255,12 +255,12 @@ internal static class SinglePlayerDuty
{
return ETaskResult.TaskComplete;
}
IGameObject gameObject = objectTable.FirstOrDefault((IGameObject x) => x.BaseId == base.Task.DataId);
if (gameObject == null)
IGameObject logLevel = objectTable.FirstOrDefault((IGameObject x) => x.BaseId == base.Task.DataId);
if (logLevel == null)
{
return ETaskResult.StillRunning;
}
targetManager.Target = gameObject;
targetManager.Target = logLevel;
return ETaskResult.StillRunning;
}