Skip to content

Commit

Permalink
Fix stack overflow in GodotObject.PropertyCanRevert
Browse files Browse the repository at this point in the history
  • Loading branch information
raulsntos committed May 12, 2024
1 parent 3e6de8d commit 760a86a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Godot.Bindings/Bridge/ClassDB/ClassDB.cs
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ private unsafe static bool PropertyCanRevert_Native(void* instance, NativeGodotS

StringName nameManaged = StringName.CreateTakingOwnership(*name);

return instanceObj.PropertyCanRevert(nameManaged);
return instanceObj._PropertyCanRevert(nameManaged);
}

return false;
Expand Down

0 comments on commit 760a86a

Please sign in to comment.