Skip to content

Commit 0440473

Browse files
committed
Minor bug fix
1 parent 6d6c4c8 commit 0440473

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/Script Tester/Editor/MethodPropertyDrawer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ public object Value {
186186
changed = false;
187187
SetArray();
188188
if (unknownTypeDrawer != null) {
189-
if (unknownTypeDrawer.target != value)
189+
if (!unknownTypeDrawer.target.Equals(value))
190190
unknownTypeDrawer = null;
191191
else
192192
unknownTypeDrawer.UpdateValues(true);

0 commit comments

Comments
 (0)