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,7 +160,8 @@ by rampa3 (https://github.com/rampa3) and vegaslon (https://github.com/vegaslon)
}
function mouseLookOn() {
Camera.captureMouse = true;
if (mouseLookEnabled)
Camera.captureMouse = true;
}
function mouseLookOff() {