diff --git a/binding_generator.py b/binding_generator.py index cff0d54e..9c6b00af 100644 --- a/binding_generator.py +++ b/binding_generator.py @@ -77,7 +77,7 @@ def generate_class_header(used_classes, c): # Ref is not included in object.h in Godot either, # so don't include it here because it's not needed - if class_name != "Object": + if class_name != "Object" and class_name != "Reference": source.append("#include ")