Skip to content

Commit 47b83b8

Browse files
committed
fix an issue related to editing an array in event
1 parent 2a9e57c commit 47b83b8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

core/event_inspector.gd

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ func parse_category(object: Object, category: String) -> void:
2828

2929

3030
func parse_property(object: Object, type: int, path: String, hint: int, hint_text: String, usage: int) -> bool:
31+
if object == null:
32+
return false
3133
var path_ignore = path+"_ignore"
3234
if (path_ignore in object):
3335
return true

0 commit comments

Comments
 (0)