Fix bug where Transition planes would build up ticks and break network ticking.
This commit is contained in:
parent
2ea77d35bc
commit
49834da028
1 changed files with 6 additions and 0 deletions
6
me/cache/TickManagerCache.java
vendored
6
me/cache/TickManagerCache.java
vendored
|
@ -113,8 +113,14 @@ public class TickManagerCache implements ITickManager
|
|||
sleeping.remove( node );
|
||||
awake.put( node, tt );
|
||||
|
||||
// configure sort.
|
||||
tt.lastTick = tt.lastTick - tt.request.maxTickRate;
|
||||
tt.current_rate = tt.request.minTickRate;
|
||||
|
||||
// prevent dupes and tick build up.
|
||||
upcomingTicks.remove( tt );
|
||||
upcomingTicks.add( tt );
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue