Skip to content

Commit

Permalink
Merge branch 'development' of http://github.com/benthemonkey/blorb
Browse files Browse the repository at this point in the history
  • Loading branch information
benthemonkey committed Mar 16, 2015
2 parents bd07162 + 52ff9eb commit 12ed98c
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Assets/Base/Placements/Placement.cs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ void OnMouseExit ()
// Use this for initialization
void OnMouseDown()
{
if (GUIManager.Instance.OnTutorialScreen) return;
if (GUIManager.Instance.OnTutorialScreen || Time.timeScale == 0) return;

BaseCohesionManager.UnMarkAllAttachments();

Expand Down
8 changes: 8 additions & 0 deletions Assets/GUI/PauseButton.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@
public class PauseButton : MonoBehaviour {
void OnMouseDown () {
WorldManager.instance.PauseButton ();

if (!GUIManager.Instance.OnTutorialScreen)
{
Placement.StopPlacement();
GUIManager.Instance.MouseOverUI = false;

SellingManager.Instance.SetVisibility(false);
}
}

void OnMouseEnter () {
Expand Down
2 changes: 1 addition & 1 deletion Assets/Resources/Mountain.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ BoxCollider:
m_IsTrigger: 0
m_Enabled: 1
serializedVersion: 2
m_Size: {x: 1, y: 1, z: 2}
m_Size: {x: 1.29999995, y: 1.29999995, z: 2}
m_Center: {x: 0, y: 0, z: 0}
--- !u!1001 &100100000
Prefab:
Expand Down
2 changes: 1 addition & 1 deletion Assets/Resources/Resource.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ BoxCollider:
m_IsTrigger: 0
m_Enabled: 1
serializedVersion: 2
m_Size: {x: 1, y: 1, z: 2}
m_Size: {x: 1.29999995, y: 1.29999995, z: 2}
m_Center: {x: 0, y: 0, z: 0}
--- !u!114 &11465728
MonoBehaviour:
Expand Down

0 comments on commit 12ed98c

Please sign in to comment.