Use correct event for rocket launch
This commit is contained in:
parent
5d14f0c5a2
commit
c5da6d1459
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ local function travel_to_nauvis()
|
||||||
crash_site.create_crash_site(nauvis, { -5, -6 }, ship_items, debris_items, util.copy(crashed_ship_parts))
|
crash_site.create_crash_site(nauvis, { -5, -6 }, ship_items, debris_items, util.copy(crashed_ship_parts))
|
||||||
end
|
end
|
||||||
|
|
||||||
script.on_event(e.on_rocket_launch_ordered, function(event)
|
script.on_event(e.on_rocket_launched, function(event)
|
||||||
local rocket_silo = event.rocket_silo
|
local rocket_silo = event.rocket_silo
|
||||||
if rocket_silo.name == "provisional-rocket-silo" then
|
if rocket_silo.name == "provisional-rocket-silo" then
|
||||||
--rocket_silo.destroy()
|
--rocket_silo.destroy()
|
||||||
|
|
Loading…
Add table
Reference in a new issue