check for player absense

This commit is contained in:
Alexsandro Percy 2022-11-12 06:15:00 -03:00
parent 4d11105b92
commit 0126072653

View File

@ -122,7 +122,7 @@ function automobiles_lib.dettach_driver(self, player)
end
-- detach the player
if player then
if player.set_detach then
--automobiles_lib.remove_hud(player)
--player:set_properties({physical=true})