Unreal need to repeat instruction twice

I don’t know why but in this place it works only if I repeat it twice.

PhiballPrototypeClone->SetActorRotation(TimerRotation);

if (PhiballPrototypeClone->GetActorLocation() != TimerLocation) {
	PhiballPrototypeClone->SetActorLocation(TimerLocation);
}