NPC.maxSpawns should be NPC.defaultMaxSpawns
This commit is contained in:
parent
fbb0e1aebb
commit
9a3cf85cf2
2 changed files with 3 additions and 3 deletions
|
|
@ -35,5 +35,5 @@ using System.Runtime.InteropServices;
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
|
|
||||||
[assembly: AssemblyVersion("2.3.2.0701")]
|
[assembly: AssemblyVersion("2.3.2.0704")]
|
||||||
[assembly: AssemblyFileVersion("2.3.2.0701")]
|
[assembly: AssemblyFileVersion("2.3.2.0704")]
|
||||||
|
|
|
||||||
|
|
@ -563,7 +563,7 @@ namespace TShockAPI
|
||||||
|
|
||||||
public void OnConfigRead(ConfigFile file)
|
public void OnConfigRead(ConfigFile file)
|
||||||
{
|
{
|
||||||
NPC.maxSpawns = file.DefaultMaximumSpawns;
|
NPC.defaultMaxSpawns = file.DefaultMaximumSpawns;
|
||||||
NPC.defaultSpawnRate = file.DefaultSpawnRate;
|
NPC.defaultSpawnRate = file.DefaultSpawnRate;
|
||||||
|
|
||||||
Main.autoSave = file.AutoSave;
|
Main.autoSave = file.AutoSave;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue