mrSkortch/MissionScriptingTools

playerCanDrive is being overridden to true.

Closed this issue · 0 comments

if not unitData.playerCanDrive then
    unitData.playerCanDrive = true
end

If unitData.playerCanDrive is false explicitly, then it will evaluate as if not false then so playerCanDrive is always true.

I'll submit a PR shortly for this.