Skip to content

Commit

Permalink
fix: fixing typo causing Prefabs header being drawn twice
Browse files Browse the repository at this point in the history
  • Loading branch information
James-Frowen committed Mar 21, 2023
1 parent fbd136c commit 2c86fc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/Mirage/Editor/ClientObjectManagerInspector.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ private bool OverrideSpawnPrefabProperty(SerializedProperty property)
// if networkPrefab has value and no items in spawnprefabs list,
// then hide the list
var removeField = com.NetworkPrefabs != null && property.arraySize == 0;
if (removeField) ;
if (removeField)
{
EditorGUILayout.Space(5);
EditorGUILayout.LabelField("Prefabs", EditorStyles.boldLabel);
Expand Down

0 comments on commit 2c86fc0

Please sign in to comment.