fix house menu

This commit is contained in:
hydrant
2019-07-30 13:43:03 +02:00
parent d7c3cb9a14
commit 2d885653dc
2 changed files with 2 additions and 1 deletions

View File

@@ -25,6 +25,7 @@ export default function house(globalData: GlobalData) {
});
function keyPressHandler() {
if (globalData.InMenu || globalData.InChat || globalData.InInput || !globalData.LoggedIn) return;
mp.game.ui.clearHelp(true);
var subTitle = houseData.Type;

View File

@@ -120,7 +120,7 @@ namespace ReallifeGamemode.Server.Managers
private static void HouseManager_OnEntityEnterColShape(ColShape colShape, Client client)
{
if (!client.IsLoggedIn()) return;
if (!client.IsLoggedIn() || client.IsInVehicle) return;
if (!houseColShapes.ContainsValue(colShape.Handle))
{
return;