From 864a3df12564f7a018fb52d486d5084fb479a67f Mon Sep 17 00:00:00 2001 From: Shank Date: Wed, 1 Jun 2011 21:11:53 -0600 Subject: [PATCH] Updated sln Added configuration stuff Code freeze: v1.3.0.0 --- TShockAPI/FileTools.cs | 2 ++ Terraria.csproj | 33 --------------------------------- 2 files changed, 2 insertions(+), 33 deletions(-) diff --git a/TShockAPI/FileTools.cs b/TShockAPI/FileTools.cs index 29033e98..9e22e4bf 100644 --- a/TShockAPI/FileTools.cs +++ b/TShockAPI/FileTools.cs @@ -122,6 +122,8 @@ namespace TShockAPI ConfigurationManager.permaPvp = Convert.ToBoolean(configuration[9]); ConfigurationManager.kickTnt = Convert.ToBoolean(configuration[10]); ConfigurationManager.banTnt = Convert.ToBoolean(configuration[11]); + NPC.defaultMaxSpawns = ConfigurationManager.defaultMaxSpawns; + NPC.defaultSpawnRate = ConfigurationManager.defaultSpawnRate; } catch (Exception e) { diff --git a/Terraria.csproj b/Terraria.csproj index 675ceb5f..9500409a 100644 --- a/Terraria.csproj +++ b/Terraria.csproj @@ -41,39 +41,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file