mirror of
https://github.com/APercy/automobiles_pck
synced 2025-08-12 00:05:49 +02:00
check for player absense
This commit is contained in:
parent
4d11105b92
commit
0126072653
@ -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})
|
||||
|
Loading…
Reference in New Issue
Block a user