Fixes casting checks
This commit is contained in:
parent
7ea00fbf4f
commit
03dd5f1926
431 changed files with 5616 additions and 6250 deletions
|
|
@ -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 );
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue