RFR: Renamed file, adjusted manifest, and refactored code.

Renamed the event so its more clear what it does and added a bool to denote when it's being disabled or not. This was attached to `isPhoneOpen` which wasn't reliablly working.  Its now done within `showPhone` and `hidePhone`.

The wait was changed from `1000` to `100` in the event the phone is opened before the wait is over. Makes it more smooth as there is no longer a small duration where the mouse moves the camera.

Removed the enable of control actions as it wasn't needed.
This commit is contained in:
Darrian committed 2021-04-22 12:32:10 -04:00
1 parent 1c69cd5e2e
commit 95ed68dff6
4 files changed
+27 -35

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@ authors { "itschip", "erik-sn", "TasoOneAsia", "kidz", "RockySouthpaw"}
client_scripts {
'resources/dist/client/*.client.js',
'futile.lua'
'resources/client/*.lua'
}
server_script {