Update PlayerInteractionHandler.cs
This commit is contained in:
parent
1ccfeaecb0
commit
8120547280
@ -198,14 +198,14 @@ public class PlayerInteractionHandler : NetworkBehaviour
|
||||
if (Input.GetButtonDown("Fire3")&&inputEnbaled)
|
||||
if (!IsCarrying)
|
||||
{
|
||||
|
||||
if(!IsServer)
|
||||
SwitchWeaponMode();
|
||||
/*GunEnabled = !GunEnabled;
|
||||
GunEnabled = !GunEnabled;
|
||||
if (!GunEnabled)
|
||||
pistol.Disable();
|
||||
pistol.gameObject.SetActive(GunEnabled);
|
||||
if (GunEnabled)
|
||||
pistol.Enable();*/
|
||||
pistol.Enable();
|
||||
}
|
||||
|
||||
if (GunEnabled)
|
||||
|
Reference in New Issue
Block a user