mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-07 03:32:42 +02:00
Fix away-enabled causing unsynchronised behavior
This commit is contained in:
parent
e7277af238
commit
1d1305a668
1 changed files with 6 additions and 0 deletions
|
@ -191,6 +191,12 @@ by rampa3 (https://github.com/rampa3) and vegaslon (https://github.com/vegaslon)
|
|||
}
|
||||
}
|
||||
|
||||
Messages.messageReceived.connect(onMessageReceived);
|
||||
function onMessageReceived(channel, message, sender, localOnly) {
|
||||
if (channel === "Hifi-Away-Enable")
|
||||
if (message === 'enable') mouseLookOn();
|
||||
}
|
||||
|
||||
Script.scriptEnding.connect(onScriptEnding);
|
||||
|
||||
function onScriptEnding() {
|
||||
|
|
Loading…
Reference in a new issue