mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2025-03-05 07:37:17 +00:00
only on server
This commit is contained in:
parent
4551cb67e9
commit
49eaf4140f
1 changed files with 4 additions and 1 deletions
|
@ -271,7 +271,10 @@ namespace SanAndreasUnity.Behaviours.Peds.States
|
|||
// if (!ped.IsFireOn || !ped.IsAimOn)
|
||||
{
|
||||
// no longer firing
|
||||
ped.StopFiring ();
|
||||
if (Net.NetStatus.IsServer)
|
||||
{
|
||||
ped.StopFiring ();
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue