From f1b8f2cc1a03bf702006aa0b81f5235773448dd3 Mon Sep 17 00:00:00 2001 From: GinjaNinja32 Date: Wed, 22 Jul 2026 21:49:35 +0100 Subject: [PATCH] BotA: destroy nebula before exploding artifact to avoid nil error --- scripts/scenario_08_atlantis.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/scenario_08_atlantis.lua b/scripts/scenario_08_atlantis.lua index b0afd1eb46..826091591d 100644 --- a/scripts/scenario_08_atlantis.lua +++ b/scripts/scenario_08_atlantis.lua @@ -459,8 +459,8 @@ function phase2SpawnWormhole() We are reading a huge gravity surge from your direction. Get the hell out of there.]]) ) x, y = b20_artifact:getPosition() - b20_artifact:explode() b20_artifact.nebula:destroy() -- Remove the nebula, else it will get sucked into the wormhole. Now it just looks like the wormhole replaces the nebula. + b20_artifact:explode() WormHole():setPosition(x, y):setTargetPosition(30036, -270545) -- Wormhole to sector ZR6 -- The explosion damages all systems, but makes sure the impulse, warp, and jump drives are non-functional. This prevents the player from escaping the grasp of the wormhole.