Restore old input logic on MexUI

This commit is contained in:
Vortrex
2021-02-03 11:58:36 -06:00
parent 38ac5449fd
commit ee18d791b9

View File

@@ -287,12 +287,12 @@ mexui.isAnyWindowShown = function()
mexui.setInput = function(showInput) mexui.setInput = function(showInput)
{ {
gui.showCursor(showInput, !showInput); gui.showCursor(showInput, !showInput);
//if(localPlayer) if(localPlayer)
//{ {
// if(showInput) if(showInput)
// gta.setCameraLookAtEntity(new Vec3(gta.cameraMatrix.m41, gta.cameraMatrix.m42, gta.cameraMatrix.m43), localPlayer, false); gta.setCameraLookAt(new Vec3(gta.cameraMatrix.m41, gta.cameraMatrix.m42, gta.cameraMatrix.m43), localPlayer.position, false);
// else else
// gta.restoreCamera(false); gta.restoreCamera(false);
//} }
}; };