From 755ed5ee65335ba661d3e3a115085c52e15e6fb8 Mon Sep 17 00:00:00 2001 From: Piegames <14054505+piegamesde@users.noreply.github.com> Date: Tue, 24 Apr 2018 03:51:35 +0200 Subject: [PATCH] Sorry for the spiders --- Assets/Scripts/Generation/DungeonGenerator.cs | 2 +- ProjectSettings/GraphicsSettings.asset | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Assets/Scripts/Generation/DungeonGenerator.cs b/Assets/Scripts/Generation/DungeonGenerator.cs index d781a1f..37ffd88 100644 --- a/Assets/Scripts/Generation/DungeonGenerator.cs +++ b/Assets/Scripts/Generation/DungeonGenerator.cs @@ -453,7 +453,7 @@ public class DungeonGenerator { Objective o = null; int rand = UnityEngine.Random.Range(0, 7); - switch (6) { + switch (rand) { case 0: case 1: { // Scorpion Attack!!!!: diff --git a/ProjectSettings/GraphicsSettings.asset b/ProjectSettings/GraphicsSettings.asset index 6c2632a..41ebdca 100644 --- a/ProjectSettings/GraphicsSettings.asset +++ b/ProjectSettings/GraphicsSettings.asset @@ -31,6 +31,8 @@ GraphicsSettings: m_AlwaysIncludedShaders: - {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0} - {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0} + - {fileID: 17000, guid: 0000000000000000f000000000000000, type: 0} + - {fileID: 16000, guid: 0000000000000000f000000000000000, type: 0} m_PreloadedShaders: [] m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}