From 448a9d7832ac2f9e042b83b5dae976b0285f57b6 Mon Sep 17 00:00:00 2001 From: Joshua Reason Date: Mon, 1 Jun 2015 08:19:43 +1000 Subject: [PATCH] Actually FINAL BUILD --- Pinata_Data/PlayerConnectionConfigFile | 2 +- playable/Assets/sceneController.cs | 16 +++++++++------- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/Pinata_Data/PlayerConnectionConfigFile b/Pinata_Data/PlayerConnectionConfigFile index 63d17c2..f876c54 100644 --- a/Pinata_Data/PlayerConnectionConfigFile +++ b/Pinata_Data/PlayerConnectionConfigFile @@ -1 +1 @@ -listen 1928270416 0 0 \ No newline at end of file +listen 967747347 0 0 \ No newline at end of file diff --git a/playable/Assets/sceneController.cs b/playable/Assets/sceneController.cs index c8c5fd9..3825e98 100644 --- a/playable/Assets/sceneController.cs +++ b/playable/Assets/sceneController.cs @@ -67,17 +67,12 @@ public class sceneController : MonoBehaviour { if (Input.GetButtonDown("start")) { paused = !paused; - optionsSelect (); - } - if (exit) { - Time.timeScale = 1.0f; - Application.LoadLevel("Menu_Scene"); - - } + optionsSelect (); + @@ -96,6 +91,13 @@ public class sceneController : MonoBehaviour { options.SetActive (false); } + if (exit) { + Time.timeScale = 1.0f; + Application.LoadLevel("Menu_Scene"); + + + } +