From bf79cbafd264a939ea098da02df87eac497502d9 Mon Sep 17 00:00:00 2001 From: Daniel Tyomin Date: Tue, 20 Aug 2024 11:53:31 +0200 Subject: [PATCH] tweaks --- Assets/Data/Objectives/Level 2.asset | 4 ++-- Assets/Data/Objectives/Level 3.asset | 4 ++-- Assets/Scripts/UI/UIManager.cs | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Assets/Data/Objectives/Level 2.asset b/Assets/Data/Objectives/Level 2.asset index b5f7807..716e9d7 100644 --- a/Assets/Data/Objectives/Level 2.asset +++ b/Assets/Data/Objectives/Level 2.asset @@ -29,5 +29,5 @@ MonoBehaviour: We''re also happy to announce that an E(tm) production line is now operational.' - SuccessMessage: Great job! - FailureMessage: Please try harder in the future! + SuccessMessage: Onward to new achievements! + FailureMessage: You can do it! diff --git a/Assets/Data/Objectives/Level 3.asset b/Assets/Data/Objectives/Level 3.asset index 7d1adbf..5ce79d8 100644 --- a/Assets/Data/Objectives/Level 3.asset +++ b/Assets/Data/Objectives/Level 3.asset @@ -20,7 +20,7 @@ MonoBehaviour: - Type: {fileID: 11400000, guid: 1e626f6e0e642b44aaeb77b6628c8be7, type: 2} Quantity: 40 MaxDefectivePercentage: 25 - TimeLimit: 270 + TimeLimit: 265 LevelMessage: 'We are pleased to announce that we have secured the capital to expand the E(tm) production. @@ -28,4 +28,4 @@ MonoBehaviour: Please familiarize yourself with the new crane-powered production line!' SuccessMessage: Congratulations! You have completed all the shifts! - FailureMessage: Please try harder in the future! + FailureMessage: Don't give up! diff --git a/Assets/Scripts/UI/UIManager.cs b/Assets/Scripts/UI/UIManager.cs index 2624187..ff48526 100644 --- a/Assets/Scripts/UI/UIManager.cs +++ b/Assets/Scripts/UI/UIManager.cs @@ -270,7 +270,7 @@ public class UIManager: MonoBehaviour public void PushStageComplete(bool success, string message) { - if (Scoreboard.Instance.CurrentStage == StagingManager.StageEnum.Level3) + if (success && Scoreboard.Instance.CurrentStage == StagingManager.StageEnum.Level3) { NextStageButton.SetActive(false); RetryButton.SetActive(false);