Removed tuning debug messages

This commit is contained in:
hydrant
2018-11-05 19:51:06 +01:00
parent 1fc848a874
commit a620179695

View File

@@ -6,7 +6,7 @@
var keyBound = false;
var carModTypes = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 22, 23, 25, 27, 28, 30, 33, 34, 35, 38, 46, 48, 62];
var carModTypes = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 22, 25, 27, 28, 30, 33, 34, 35, 38, 46, 48];
var carModSlotName = [
{ Slot: 0, Name: "Spoiler" }, // 0
@@ -150,14 +150,9 @@ mp.events.add("showTuningMenu", () => {
mainMenu.ItemSelect.on(item => {
var modSlot = getSlotId(item.Text);
mp.gui.chat.push(item.Text);
if (item.Text.startsWith("Slot")) {
mp.gui.chat.push("slot item");
restStr = item.Text.substring(5);
mp.gui.chat.push(`restStr = ${restStr}`);
modSlot = parseInt(restStr);
mp.gui.chat.push(`modSlot = ${modSlot}`);
}
var modNum = localVehicle.getNumMods(modSlot);