Skip to content

Commit

Permalink
fix: camera creation bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Stuyk committed May 10, 2024
1 parent a5578fc commit 9b0a72c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/client/player/camera.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ function destroy() {
native.destroyAllCams(true);
native.setCamActive(camera, false);
native.renderScriptCams(false, false, 0, false, false, 0);
camera = undefined;
}

export function useCamera() {
Expand Down

0 comments on commit 9b0a72c

Please sign in to comment.