Closed DannyWebbie closed 5 years ago
I didn't know that Camera.current
can be a scene view camera.
What do you mean by infinite destroy ? What will be destroyed ?
Anything using that script expecting game view camera is affected, but in this case it was the player ped being destroyed. We probably shouldn't be adding that script to player controlled peds in the first place, but that's a story for another commit.
Aha, I get it. Thanks.
Camera.current can lead to infinite destroy -> spawn loop if you have scene view open.