Fixing networked interaction handler

This commit is contained in:
2023-06-15 12:11:38 -04:00
parent f553471278
commit 990d992276
2 changed files with 13 additions and 20 deletions

View File

@ -48,17 +48,10 @@ namespace Item
private GameObject targetObject;
private float timeSinceLightDuration;
public bool IsLightOn => targetingLight.gameObject.activeSelf;
//private Dictionary<int,float> projectiles = new Dictionary<int, float>();
public override void OnStartClient()
{
base.OnStartClient();
if (!IsOwner)
{
this.enabled = false;
}
}
// Start is called before the first frame update
private void Start()
{