<commit_before>﻿using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using UnityEngine.SceneManagement;

public class System32 : MonoBehaviour {
    [Header("Screen")]
    public GameObject rebootScreen;
    public GameObject rebootText;
    public GameObject userinterface;

    public bool isBlueScreen = false;
    public GameObject blueScreen;

    public string nextlvl;

    // Use this for initialization
    void Start() {

    }

    // Update is called once per frame
    void FixedUpdate() {
        if (Input.anyKeyDown) {

            if (Input.GetKey("escape"))
                Application.Quit();

            //Load next lvl
            if (isBlueScreen)
                SceneManager.LoadScene(nextlvl);
        }

    }


    void OnCollisionEnter2D(Collision2D coll) {
        if (coll.gameObject.tag == "Player") {
            userinterface.SetActive(false);
            GameObject.Find("Player").SendMessage("stopSound");
            GameObject.Find("Player").SendMessage("sleepPlayer", Mathf.Infinity);
            //GameObject.Find("_Manager").SendMessage("upgradeMusic");
            AudioSource audio = GetComponent<AudioSource>();
            audio.Play();

            StartCoroutine(WaitForReboot());
<commit_msg>fix music stop on hit Sys32<commit_after>﻿using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using UnityEngine.SceneManagement;

public class System32 : MonoBehaviour {
    [Header("Screen")]
    public GameObject rebootScreen;
    public GameObject rebootText;
    public GameObject userinterface;

    public bool isBlueScreen = false;
    public GameObject blueScreen;

    public string nextlvl;

    // Use this for initialization
    void Start() {

    }

    // Update is called once per frame
    void FixedUpdate() {
        if (Input.anyKeyDown) {

            if (Input.GetKey("escape"))
                Application.Quit();

            //Load next lvl
            if (isBlueScreen)
                SceneManager.LoadScene(nextlvl);
        }

    }


    void OnCollisionEnter2D(Collision2D coll) {
        if (coll.gameObject.tag == "Player") {
            userinterface.SetActive(false);
            GameObject.Find("_Manager").SendMessage("stopMusic");
            GameObject.Find("Player").SendMessage("stopSound");
            GameObject.Find("Player").SendMessage("sleepPlayer", Mathf.Infinity);
            //GameObject.Find("_Manager").SendMessage("upgradeMusic");
            AudioSource audio = GetComponent<AudioSource>();
            audio.Play();

            StartCoroutine(WaitForReboot());

{'fraction_non_alphanumeric': 0.10471406491499227, 'fraction_numerical': 0.0038639876352395673, 'mean_word_length': 2.5128900949796473, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '2235305', 'n_tokens_mistral': 701, 'n_tokens_neox': 666, 'n_words': 152}