Skip to content

Commit

Permalink
Merge pull request #8 from litolax/master
Browse files Browse the repository at this point in the history
Patch for fivem exit menu
  • Loading branch information
ivanzaida authored Dec 19, 2024
2 parents bde3321 + 2eaaaa5 commit 6156b04
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions code/client/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ const toggleEditor = (): void => {
if (!isOpen) {
closeEditor();
} else {
if (IsWarningMessageActive() && GetWarningMessageTitleHash() == 1246147334) {
return;
}

openEditor();
}
};
Expand Down

0 comments on commit 6156b04

Please sign in to comment.