tilematrix thread-safety
main waithandle timeout removed basecreature typo
This commit is contained in:
parent
b3831721d9
commit
855b6463ca
5 changed files with 83 additions and 53 deletions
|
|
@ -575,13 +575,12 @@ namespace Server
|
|||
|
||||
const int sampleInterval = 100;
|
||||
const float ticksPerSecond = (float)(1000 * sampleInterval);
|
||||
TimeSpan _oneMS = TimeSpan.FromMilliseconds( 1 );
|
||||
|
||||
long sample = 0;
|
||||
|
||||
while( !m_Closing )
|
||||
{
|
||||
m_Signal.WaitOne( _oneMS );
|
||||
m_Signal.WaitOne();
|
||||
|
||||
Mobile.ProcessDeltaQueue();
|
||||
Item.ProcessDeltaQueue();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue