From f5706dfad60c3502f094395cb958fbe4cd10e6c5 Mon Sep 17 00:00:00 2001 From: Acidic Date: Sat, 6 Jun 2020 14:51:05 -0400 Subject: [PATCH] #51 - playerCanDrive is no longer being overridden to true --- mist.lua | 2 +- mist_4_4_83.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mist.lua b/mist.lua index abedfcd..4ac4822 100644 --- a/mist.lua +++ b/mist.lua @@ -1459,7 +1459,7 @@ do -- the main scope end elseif newCat == 'GROUND_UNIT' then - if not unitData.playerCanDrive then + if nil == unitData.playerCanDrive then unitData.playerCanDrive = true end diff --git a/mist_4_4_83.lua b/mist_4_4_83.lua index abedfcd..4ac4822 100644 --- a/mist_4_4_83.lua +++ b/mist_4_4_83.lua @@ -1459,7 +1459,7 @@ do -- the main scope end elseif newCat == 'GROUND_UNIT' then - if not unitData.playerCanDrive then + if nil == unitData.playerCanDrive then unitData.playerCanDrive = true end