<NME> chains.cs
<BEF> ﻿using UnityEngine;
using System.Collections;
using UnityEngine.UI;

public class chains : GuiBase_Draggable {
	/*GUI Element for switching panel displays but also controls which other GUI elements are displayed.*/
	public static int ActiveControl;
	//public static int setControl=0;
	public void OnClick()
	{
	if (Dragging==true){return;}
	 switch (ActiveControl)
		{
		case UWHUD.HUD_MODE_INVENTORY://Inventory -> Stats
	public void OnClick()
	{
	if (Dragging==true){return;}
	if (UWHUD.instance.isRotating==true){return;}

	 switch (ActiveControl)
		{
		case UWHUD.HUD_MODE_INVENTORY://Inventory -> Stats
			ActiveControl=UWHUD.HUD_MODE_STATS;
			break;
		case UWHUD.HUD_MODE_STATS://Stats -> Inventory
			ActiveControl=UWHUD.HUD_MODE_INVENTORY;
			break;
		case UWHUD.HUD_MODE_RUNES://Magic -> Inventory
			ActiveControl=UWHUD.HUD_MODE_INVENTORY;
			break;
		default://Not a valid state to switch from
			return;
		}
		Refresh();
	}

	public void Refresh()
	{
		UWHUD.instance.RefreshPanels(ActiveControl);
	}
}

<MSG> Audio sequence for intro cutscene.
Dragon animation control
Rotating panels
Fixed musical instrument and other bug fixes.
<DFF> @@ -9,6 +9,8 @@ public class chains : GuiBase_Draggable {
 	public void OnClick()
 	{
 	if (Dragging==true){return;}
+	if (UWHUD.instance.isRotating==true){return;}
+
 	 switch (ActiveControl)
 		{
 		case UWHUD.HUD_MODE_INVENTORY://Inventory -> Stats

Audio sequence for intro cutscene. Dragon animation control Rotating panels Fixed musical instrument and other bug fixes.