Skip to content

Commit 9ebfff4

Browse files
authored
Update networkedvar.md
Another fix
1 parent e8045c0 commit 9ebfff4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/_docs/the-basics/networkedvar.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ To create your own NetworkedVar container, simply create a class with the INetwo
3333
### Permissions
3434
By default NetworkedVar and it's subclasses can only be wrote to by the server (NetworkedVarPermission.ServerOnly). To change that set the permission to the desired value during initialization:
3535
```csharp
36-
private NetworkedVar<float> myFloat = new NetworkedVar(new NetworkedVarSettings {WritePermission = NetworkedVarPermission.OwnerOnly}, 5);
36+
private NetworkedVar<float> myFloat = new NetworkedVar<float>(new NetworkedVarSettings {WritePermission = NetworkedVarPermission.OwnerOnly}, 5);
3737
```
3838

3939
### Example

0 commit comments

Comments
 (0)