mirror of
https://github.com/APercy/automobiles_pck
synced 2025-08-28 07:36:24 +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
|
end
|
||||||
|
|
||||||
-- detach the player
|
-- detach the player
|
||||||
if player then
|
if player.set_detach then
|
||||||
--automobiles_lib.remove_hud(player)
|
--automobiles_lib.remove_hud(player)
|
||||||
|
|
||||||
--player:set_properties({physical=true})
|
--player:set_properties({physical=true})
|
||||||
|
Loading…
Reference in New Issue
Block a user