Commit fc325ae5 authored by radow's avatar radow
Browse files

Update Menu.cs

parent 7dbe4516
......@@ -130,7 +130,7 @@ public class Menu : MonoBehaviour
{
SetPausemenu(!menuMode);
}
if ((SceneManager.GetActiveScene().buildIndex == 0 || menuMode) && (Input.GetButtonDown("Cancel")|| Input.GetButtonDown("Fire2")))
else if ((SceneManager.GetActiveScene().buildIndex == 0 || menuMode) && (Input.GetButtonDown("Cancel")|| Input.GetButtonDown("Fire2")))
{
if (currentMenu == Sub.MAIN) {
if(SceneManager.GetActiveScene().buildIndex != 0) SetPausemenu(false);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment