Skip to content

Commit

Permalink
fix(client/carlock): avoid ownership error
Browse files Browse the repository at this point in the history
(STEAM)
checking compatibility for other identifiers..
  • Loading branch information
renzuzu committed Jul 26, 2021
1 parent 6b8a564 commit 4071a53
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions renzu_hud/client/function.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3175,6 +3175,7 @@ function Hud:Carlock()
checkindentifier = string.gsub(checkindentifier, 'Char3', '')
checkindentifier = string.gsub(checkindentifier, 'Char2', '')
checkindentifier = string.gsub(checkindentifier, 'Char1', '')
checkindentifier = string.gsub(checkindentifier, 'steam', '')
myidentifier = string.gsub(self.identifier, 'steam', '')
if self.veh_stats[self.plate] ~= nil and checkindentifier == myidentifier then
foundvehicle[self.plate] = {}
Expand Down

0 comments on commit 4071a53

Please sign in to comment.