mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-17 22:33:13 +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:
1 parent
25df6c91b6
commit
d12b50b4ed
4 files changed
+7
-12
No files matched your search
@@ -118,7 +118,7 @@ local add_player_base =
|
||||
if event.button == defines.mouse_button_type.left then
|
||||
-- LMB will open the map to the selected player
|
||||
local position = selected_player.physical_position
|
||||
event.player.zoom_to_world(position, 1.75)
|
||||
event.player.set_controller{ type = defines.controllers.remote, position = selected_player.physical_position, surface = selected_player.physical_surface }
|
||||
else
|
||||
-- RMB will toggle the settings
|
||||
local old_selected_player_name = SelectedPlayer:get(player)
|
||||
|
||||
Reference in new issue
Block a user