Fix bug where Transition planes would build up ticks and break network ticking.

This commit is contained in:
AlgorithmX2 2014-07-08 03:12:50 -05:00
parent 2ea77d35bc
commit 49834da028

View file

@ -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;
}