Skip to content

Commit e9550b5

Browse files
committed
Fixed nullref for strings
1 parent 2b8d5a1 commit e9550b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MLAPI/Data/NetworkedVar.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public NetworkedVar(T value)
5454
this.InternalValue = value;
5555
}
5656

57-
private T InternalValue;
57+
private T InternalValue = default(T);
5858
/// <summary>
5959
/// The value of the NetworkedVar container
6060
/// </summary>

0 commit comments

Comments
 (0)