Skip to content
This repository has been archived by the owner on Jun 5, 2024. It is now read-only.

Commit

Permalink
Menu Patch
Browse files Browse the repository at this point in the history
  • Loading branch information
Stuyk committed Apr 7, 2023
1 parent e51302d commit c0dd94d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/core/client/rmlui/menu/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import * as alt from 'alt-client';
import * as native from 'natives';
import * as AthenaClient from '@AthenaClient/api';
import { rgbaToHexAlpha } from '@AthenaShared/utility/color';
import { Invoke, Toggle, Selection, Range, MenuInfo } from './menuInterfaces';
Expand Down Expand Up @@ -112,6 +113,9 @@ const InternalFunctions = {
document = undefined;
}

native.disableFrontendThisFrame();
native.setFrontendActive(false);

menu = undefined;
AthenaClient.systems.sound.frontend('CANCEL', 'HUD_FREEMODE_SOUNDSET');

Expand Down

0 comments on commit c0dd94d

Please sign in to comment.