summaryrefslogtreecommitdiff
path: root/Client/Assembly-CSharp/VersionShower.cs
blob: 8c87390ecdb7064b580daaa694a14a2814f13cca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
using System;
using UnityEngine;

public class VersionShower : MonoBehaviour
{
	public TextRenderer text;

	public void Start()
	{
		string str = "v" + Application.version;
		str += "s";
		if (!DetectTamper.Detect())
		{
			str += "h";
		}
		this.text.Text = str;
		Screen.sleepTimeout = -1;
	}
}