mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 11:35:22 +09:00
Remove Zoom to World (#339)
* Update player-list.lua * Update warp-list.lua * Fix remaining cases of zoom_to_world * Fix lint --------- Co-authored-by: Cooldude2606 <25043174+Cooldude2606@users.noreply.github.com>
This commit is contained in:
@@ -230,8 +230,7 @@ local warp_label =
|
||||
:on_click(function(player, element, _)
|
||||
local warp_id = element.parent.caption
|
||||
local warp = Warps.get_warp(warp_id)
|
||||
local position = warp.position
|
||||
player.zoom_to_world(position, 1.5)
|
||||
player.set_controller{ type = defines.controllers.remote, position = warp.position, surface = warp.surface }
|
||||
end)
|
||||
:static_name(Gui.unique_static_name)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user