fix ts bugs
This commit is contained in:
@@ -52,7 +52,7 @@ export default function (globalData: GlobalData) {
|
||||
|
||||
menu.Visible = true;
|
||||
mp.gui.chat.show(false);
|
||||
globalData.Interaction = true;
|
||||
globalData.InMenu = true;
|
||||
|
||||
menu.ItemSelect.on((item, index) => {
|
||||
if (item === acceptItem) {
|
||||
@@ -61,7 +61,7 @@ export default function (globalData: GlobalData) {
|
||||
});
|
||||
|
||||
menu.MenuClose.on(() => {
|
||||
globalData.Interaction = false;
|
||||
globalData.InMenu = false;
|
||||
mp.gui.chat.show(true);
|
||||
})
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user