From 9291b7029598524765537aba6d9f186be7c0c132 Mon Sep 17 00:00:00 2001 From: asleal2 Date: Thu, 26 Apr 2018 04:54:43 -0500 Subject: [PATCH] playerpref steps --- MoCha/Assets/Scripts/GetGoals.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/MoCha/Assets/Scripts/GetGoals.cs b/MoCha/Assets/Scripts/GetGoals.cs index deab496..4bd0122 100644 --- a/MoCha/Assets/Scripts/GetGoals.cs +++ b/MoCha/Assets/Scripts/GetGoals.cs @@ -155,7 +155,6 @@ public class GetGoals : MonoBehaviour { //destroy the goal and set a new one? savedPoints += stepsGoal*10; PlayerPrefs.SetInt("totalPoints", savedPoints); - stepText.text = PlayerPrefs.GetInt("totalPoints").ToString (); pointsText.text = "Points: " + PlayerPrefs.GetInt("totalPoints").ToString (); }