Remove inInput -> replace with inMenu
This commit is contained in:
@@ -317,13 +317,13 @@ export default function charCreator(globalData: IGlobalData) {
|
||||
mp.game.cam.renderScriptCams(false, false, 0, true, false);
|
||||
mp.events.callRemote("creatorSave", currentGender, JSON.stringify(parentData), JSON.stringify(featureData), JSON.stringify(appearanceData), JSON.stringify(hairAndColors));
|
||||
globalData.InMenu = false;
|
||||
globalData.InInput = false;
|
||||
globalData.InMenu = false;
|
||||
break;
|
||||
|
||||
case 7:
|
||||
mp.events.callRemote("creator_Leave");
|
||||
globalData.InMenu = false;
|
||||
globalData.InInput = false;
|
||||
globalData.InMenu = false;
|
||||
break;
|
||||
}
|
||||
});
|
||||
@@ -331,7 +331,7 @@ export default function charCreator(globalData: IGlobalData) {
|
||||
creatorMainMenu.MenuClose.on(() => {
|
||||
mp.events.callRemote("creator_Leave");
|
||||
globalData.InMenu = false;
|
||||
globalData.InInput = false;
|
||||
globalData.InMenu = false;
|
||||
});
|
||||
|
||||
creatorMainMenu.Visible = false;
|
||||
@@ -560,7 +560,7 @@ export default function charCreator(globalData: IGlobalData) {
|
||||
creatorCamera.setActive(true);
|
||||
|
||||
globalData.InMenu = true;
|
||||
globalData.InInput = true;
|
||||
globalData.InMenu = true;
|
||||
|
||||
creatorMainMenu.Visible = true;
|
||||
mp.gui.chat.show(false);
|
||||
|
||||
Reference in New Issue
Block a user