NPC.maxSpawns should be NPC.defaultMaxSpawns

This commit is contained in:
high 2011-07-04 00:44:04 -04:00
parent fbb0e1aebb
commit 9a3cf85cf2
2 changed files with 3 additions and 3 deletions

View file

@ -35,5 +35,5 @@ using System.Runtime.InteropServices;
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.3.2.0701")]
[assembly: AssemblyFileVersion("2.3.2.0701")]
[assembly: AssemblyVersion("2.3.2.0704")]
[assembly: AssemblyFileVersion("2.3.2.0704")]

View file

@ -563,7 +563,7 @@ namespace TShockAPI
public void OnConfigRead(ConfigFile file)
{
NPC.maxSpawns = file.DefaultMaximumSpawns;
NPC.defaultMaxSpawns = file.DefaultMaximumSpawns;
NPC.defaultSpawnRate = file.DefaultSpawnRate;
Main.autoSave = file.AutoSave;