Spearhead API updates (#31)

Co-authored-by: dutchie032 <dutchie032>
This commit is contained in:
2025-05-10 12:44:01 +02:00
committed by GitHub
co-authored by dutchie032 <dutchie032>
parent c7c532a08a
commit 05e2d067ce
7 changed files with 114 additions and 77 deletions
@@ -289,7 +289,7 @@ end
function ZoneMission:SpawnPersistedState()
for _, group in pairs(self._missionGroups.groups) do
group:SpawnCorpsesOnly()
group:Spawn()
end
end
@@ -113,6 +113,11 @@ function Mission:NotifyMissionComplete()
listener:OnMissionComplete(self)
end)
end
pcall(function()
Spearhead.API.Internal.notifyMissionComplete(self.zoneName)
end)
end
---endregion