From 15fbb8a9f88047a5e4c7ad05797461ddc04fe639 Mon Sep 17 00:00:00 2001 From: Luna Date: Sat, 26 May 2018 22:19:43 -0400 Subject: [PATCH] Remove extraneous commented out lines of code --- scripts/matchmaking.gd | 4 ---- scripts/tp_camera.gd | 1 - 2 files changed, 5 deletions(-) diff --git a/scripts/matchmaking.gd b/scripts/matchmaking.gd index 43ef50a..0528467 100644 --- a/scripts/matchmaking.gd +++ b/scripts/matchmaking.gd @@ -75,10 +75,6 @@ func queue(netid): skirmishing_players.append(netid) check_queue() -# # This is only for clients, but it's in here so we can rpc it easily -# slave func join_game(port): -# # - func add_to_game(netid, port): networking.rpc_id(netid, "reconnect", networking.global_server_ip, port) diff --git a/scripts/tp_camera.gd b/scripts/tp_camera.gd index 9f3d129..2ea1502 100644 --- a/scripts/tp_camera.gd +++ b/scripts/tp_camera.gd @@ -101,7 +101,6 @@ func cam_update(): if cam_ray_result.size() != 0: var a = (cam_ray_result.position-pivot.get_global_transform().origin).normalized(); var b = pivot.get_global_transform().origin.distance_to(cam_ray_result.position); - #pos = cam_ray_result.position; pos = pivot.get_global_transform().origin+a*max(b-0.1, 0); else: pos = cam_pos;