additionally allow calc code to trigger every 10ms instead of 100ms
This commit is contained in:
parent
18104e776b
commit
f5bda95372
@ -3705,7 +3705,7 @@ bool Spawn::CalculateChange(){
|
||||
void Spawn::CalculateRunningLocation(bool stop){
|
||||
|
||||
bool pauseTimerEnabled = IsPauseMovementTimerActive();
|
||||
if (!pauseTimerEnabled && !stop && (last_location_update + 100) > Timer::GetCurrentTime2())
|
||||
if (!pauseTimerEnabled && !stop && (last_location_update + 10) > Timer::GetCurrentTime2())
|
||||
return;
|
||||
else if (!pauseTimerEnabled && !stop)
|
||||
last_location_update = Timer::GetCurrentTime2();
|
||||
|
Loading…
x
Reference in New Issue
Block a user