Does not allow mouse capture if disabled.

This commit is contained in:
Armored-Dragon 2023-10-10 06:53:22 -05:00
parent 4ccefd0471
commit e38d5e6647

View file

@ -160,6 +160,7 @@ by rampa3 (https://github.com/rampa3) and vegaslon (https://github.com/vegaslon)
}
function mouseLookOn() {
if (mouseLookEnabled)
Camera.captureMouse = true;
}