This commit is contained in:
2026-08-29 16:12:43 +02:00
parent 2e5a31faef
commit 428fe75a12
2 changed files with 14 additions and 1 deletions
@@ -75,7 +75,13 @@ function BuildableMission.new(database, logger, targetZone, noLandingZone, requi
end
self.code = tostring(database:GetNewMissionCode())
self.name = "Resupply"
local splitTargetZoneName = Util.split_string(targetZone.name, "_")
if splitTargetZoneName and #splitTargetZoneName[3] then
self.name = splitTargetZoneName[3]
else
self.name = "Resupply"
end
local type = "site"
if requiredCrateType == "SAM_CRATE" then