Skip to content

Commit

Permalink
Fix in-game UI issue
Browse files Browse the repository at this point in the history
  • Loading branch information
z3db0y committed Nov 9, 2024
1 parent 8a89c96 commit 1e13d78
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rays_nova",
"version": "3.0.0-alpha.12",
"version": "3.0.0-alpha.13",
"main": "js/launch.js",
"devDependencies": {
"@types/node": "^20.10.7",
Expand Down
3 changes: 3 additions & 0 deletions src/modules/altmanager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,9 @@ export default class AltManager extends Module {
let alt = alts.find((a) => a.username === username);
if (!alt) return;

const { pointerLockElement } = document;
document.exitPointerLock();

for (let i = 0; i < 2; i++) {
window.showWindow(5);
}
Expand Down

0 comments on commit 1e13d78

Please sign in to comment.