Change rocket launch to cargo pod ascended

This commit is contained in:
Cooldude2606
2024-12-30 20:40:55 +00:00
parent 47da1b8578
commit 4ece0c0e9a
2 changed files with 8 additions and 7 deletions

View File

@@ -148,7 +148,7 @@ function Rockets.get_rolling_average(force_name, count)
end
--- Event used to update the stats and the hui when a rocket is launched
Event.add(defines.events.on_rocket_launched, function(event)
Event.add(defines.events.on_cargo_pod_finished_ascending, function(event)
local entity = event.rocket_silo
local silo_data = Rockets.get_silo_data(entity)
local force = event.rocket_silo.force