Browse Source

Remove extraneous commented out lines of code

master
Luna 7 years ago
parent
commit
15fbb8a9f8
2 changed files with 0 additions and 5 deletions
  1. +0
    -4
      scripts/matchmaking.gd
  2. +0
    -1
      scripts/tp_camera.gd

+ 0
- 4
scripts/matchmaking.gd View File

@ -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)


+ 0
- 1
scripts/tp_camera.gd View File

@ -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;


Loading…
Cancel
Save