Skip to content

Commit

Permalink
Update HandleCharModel.lua
Browse files Browse the repository at this point in the history
- Potentially fix an issue with Custom Characters
  • Loading branch information
Hampo authored Aug 15, 2023
1 parent 2d3a5a2 commit adc8792
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Randomiser/Resources/HandleCharModel.lua
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,8 @@ if Exists("/GameData/" .. Path, true, false) then
end
end
end
elseif Settings.RandomPedestrians and Settings.CustomChars and (ExistsInTbl(LevelPedestrians, FileName) or ExistsInTbl(MissionDrivers, FileName)) and CustomChars[FileName] then
Output(ReadFile(CustomChars[FileName]))
--elseif Settings.RandomPedestrians and Settings.CustomChars and (ExistsInTbl(LevelPedestrians, FileName) or ExistsInTbl(MissionDrivers, FileName)) and CustomChars[FileName] then
--Output(ReadFile(CustomChars[FileName]))
elseif Settings.CustomChars and CustomChars[FileName] then
Redirect(CustomChars[FileName])
end

0 comments on commit adc8792

Please sign in to comment.