fix removal of cameras in nod07a and nod08a

fixes #11963
This commit is contained in:
clemty
2016-09-03 22:54:41 +02:00
parent 0ec0db72e4
commit 47080d5dc0
5 changed files with 14 additions and 14 deletions

View File

@@ -30,7 +30,7 @@ Trigger.OnEnteredFootprint(CameraBarrierTrigger, function(a, id)
cameraBarrierTrigger = true
local cameraBarrier = Actor.Create("camera", true, { Owner = player, Location = CameraBarrier.Location })
Trigger.AfterDelay(DateTime.Seconds(15), function()
cameraBarrier.Kill()
cameraBarrier.Destroy()
end)
end
end)
@@ -43,10 +43,10 @@ Trigger.OnEnteredFootprint(CameraBaseTrigger, function(a, id)
local cameraBase3 = Actor.Create("camera", true, { Owner = player, Location = CameraBase3.Location })
local cameraBase4 = Actor.Create("camera", true, { Owner = player, Location = CameraBase4.Location })
Trigger.AfterDelay(DateTime.Minutes(1), function()
cameraBase1.Kill()
cameraBase2.Kill()
cameraBase3.Kill()
cameraBase4.Kill()
cameraBase1.Destroy()
cameraBase2.Destroy()
cameraBase3.Destroy()
cameraBase4.Destroy()
end)
end
end)