fix taxifahrer & input freeze

This commit is contained in:
Michael
2020-07-15 16:05:36 +02:00
parent 4a17242071
commit 8001be2aa2
3 changed files with 11 additions and 10 deletions

View File

@@ -25,9 +25,8 @@ export default class InputHelper {
this.value = undefined;
const disableInput = [157, 158, 159, 32, 33, 34, 35];
mp.events.add("render", () => {
mp.game.controls.disableAllControlActions(0);
});
mp.events.add("render", this.disableControls);
}
private disableControls() {