This commit is contained in:
2024-12-31 13:13:02 +09:00
parent 15141e98e0
commit d73688dd37
2 changed files with 2 additions and 1 deletions

View File

@@ -127,7 +127,7 @@ local silo_cords =
:on_click(function(player, element, _)
local rocket_silo_name = element.parent.caption
local rocket_silo = Rockets.get_silo_entity(rocket_silo_name)
player.zoom_to_world(rocket_silo.position, 2)
player.set_controller{ type = defines.controllers.remote, position = rocket_silo.position, surface = rocket_silo.surface }
end)
--- Base element for each rocket in the progress list