diff --git a/AthenaConfig.json b/AthenaConfig.json index 4845569b74..6ed745f89f 100644 --- a/AthenaConfig.json +++ b/AthenaConfig.json @@ -9,7 +9,7 @@ "[?] A list of collection(s) to create. Separated by a common. ie. one,two,three": {}, "MONGO_COLLECTIONS": "", "[?] Used to turn on development mode for WebViews": {}, - "VUE_DEBUG": false, + "VUE_DEBUG": true, "[?] Used for Ares Service Debugging": {}, "ARES_ENDPOINT": "", "[?] Used to give the client the IP to connect to the WebServer **Deprecated": {}, diff --git a/server.cfg b/server.cfg index d1b68fe118..348e9c4cbd 100644 --- a/server.cfg +++ b/server.cfg @@ -17,7 +17,7 @@ voice: { modules: [ "js-module" ], -resources: ["webserver", "webviews", "core"], +resources: ["webserver", "core"], tags: [ "athena", "framework", diff --git a/src/core/client/utility/camera.ts b/src/core/client/utility/camera.ts index 0eabdec35e..dac12cdab0 100644 --- a/src/core/client/utility/camera.ts +++ b/src/core/client/utility/camera.ts @@ -133,6 +133,7 @@ export default class PedEditCamera { } if (camera) { + native.destroyCam(camera, true); camera = null; } @@ -147,6 +148,8 @@ export default class PedEditCamera { isLocalPlayer = false; camUpdateQueue = []; isQueueReady = true; + scriptID = null; + controlStatus = false; } /** diff --git a/src/core/client/views/creator.ts b/src/core/client/views/creator.ts index e328d0ddce..945a998b0a 100644 --- a/src/core/client/views/creator.ts +++ b/src/core/client/views/creator.ts @@ -53,8 +53,8 @@ export class CreatorView { await PedCharacter.create(true, pos, heading); await sleep(100); - await PedEditCamera.create(PedCharacter.get(), { x: -0.15, y: 0, z: 0 }); - await PedEditCamera.setCamParams(50, 0.6); + await PedEditCamera.create(PedCharacter.get(), { x: -0.25, y: 0, z: 0 }); + await PedEditCamera.setCamParams(0.6, 50); readyInterval = alt.setInterval(CreatorView.waitForReady, 100); }