Fixes code according to modern code style. Fixes a few expression bugs.

This commit is contained in:
Kamron Batman 2018-09-15 09:58:51 -07:00
parent 89eea25e5f
commit 970fd563b2
3324 changed files with 441118 additions and 433755 deletions

View file

@ -2,19 +2,19 @@ using System;
namespace Server.Engines.CannedEvil
{
public class RestartTimer : Timer
{
private ChampionSpawn m_Spawn;
public class RestartTimer : Timer
{
private ChampionSpawn m_Spawn;
public RestartTimer( ChampionSpawn spawn, TimeSpan delay ) : base( delay )
{
m_Spawn = spawn;
Priority = TimerPriority.FiveSeconds;
}
public RestartTimer(ChampionSpawn spawn, TimeSpan delay) : base(delay)
{
m_Spawn = spawn;
Priority = TimerPriority.FiveSeconds;
}
protected override void OnTick()
{
m_Spawn.EndRestart();
}
}
protected override void OnTick()
{
m_Spawn.EndRestart();
}
}
}