<commit_before>using UnityEngine;
using System.Collections;

public class Interaction : MonoBehaviour {

	// Use this for initialization
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () {
		if (Input.GetButtonDown ("Interact")) {

			var fwd = transform.TransformDirection (Vector3.forward);
			RaycastHit hit;

			Physics.Raycast (transform.position, fwd, out hit);

			if (hit.transform.gameObject.tag == "interactive") {
				var go = hit.transform.gameObject;
				var position = transform.position;
				var dist = go.transform.position - position;
				var absDist = dist.sqrMagnitude;

					if(absDist < 50) {
						Debug.Log ("lolwut");
						
						var component = hit.transform.GetComponent<InteractedWith>();
						component.GetComponent<PhotonView>().RPC ("repair", PhotonTargets.All, null);
					}
			}
		}

	}
}
<commit_msg>fixed interaction script<commit_after>using UnityEngine;
using System.Collections;

public class Interaction : MonoBehaviour {

	// Use this for initialization
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () {
		if (Input.GetButtonDown ("Interact")) {

			var fwd = transform.TransformDirection (Vector3.forward);
			RaycastHit hit;

			Physics.Raycast (transform.position, fwd, out hit);

			if (Physics.Raycast (transform.position, fwd, out hit) && hit.transform.gameObject.tag == "interactive") {
				var go = hit.transform.gameObject;
				var position = transform.position;
				var dist = go.transform.position - position;
				var absDist = dist.sqrMagnitude;

					if(absDist < 50) {
						Debug.Log ("lolwut");
						
						var component = hit.transform.GetComponent<InteractedWith>();
						component.GetComponent<PhotonView>().RPC ("repair", PhotonTargets.All, null);
					}
			}
		}

	}
}

{'fraction_non_alphanumeric': 0.11975377728035815, 'fraction_numerical': 0.003357582540570789, 'mean_word_length': 3.3084337349397592, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '909608', 'n_tokens_mistral': 672, 'n_tokens_neox': 535, 'n_words': 133}