Fixes casting checks

This commit is contained in:
Kamron Batman 2018-08-19 01:38:55 +08:00
parent 7ea00fbf4f
commit 03dd5f1926
431 changed files with 5616 additions and 6250 deletions

View file

@ -551,7 +551,7 @@ namespace Server
{
Timer t = new DelayStateCallTimer<T>( delay, interval, count, callback, state );
if( count == 1 )
if ( count == 1 )
t.Priority = ComputePriority( delay );
else
t.Priority = ComputePriority( interval );
@ -638,7 +638,7 @@ namespace Server
protected override void OnTick()
{
if( m_Callback != null )
if ( m_Callback != null )
m_Callback( m_State );
}