mirror of
https://github.com/lubosz/overte.git
synced 2025-04-08 00:02:05 +02:00
Added before forgotten condition to check if mouse look is enabled by default before auto-starting it.
This commit is contained in:
parent
5f34d04596
commit
3daab28245
1 changed files with 4 additions and 2 deletions
|
@ -7,8 +7,10 @@ by rampa3 (https://github.com/rampa3) and vegaslon (https://github.com/vegaslon)
|
|||
var oldMode;
|
||||
|
||||
var mouseLookEnabled = false;
|
||||
|
||||
mouseLookOn();
|
||||
|
||||
if (mouseLookEnabled) {
|
||||
mouseLookOn();
|
||||
}
|
||||
|
||||
Controller.keyPressEvent.connect(function(event) {
|
||||
if (event.text === 'm') {
|
||||
|
|
Loading…
Reference in a new issue