Fix a few more super calls in get_configuration_warnings methods

A few missed last pass and one incorrect from that pass
This commit is contained in:
A Thousand Ships
2024-11-08 11:30:02 +01:00
parent 36e6207bb4
commit 26938086eb
4 changed files with 10 additions and 10 deletions

View File

@@ -641,7 +641,7 @@ void RigidBody2D::_notification(int p_what) {
PackedStringArray RigidBody2D::get_configuration_warnings() const {
Transform2D t = get_transform();
PackedStringArray warnings = CollisionObject2D::get_configuration_warnings();
PackedStringArray warnings = PhysicsBody2D::get_configuration_warnings();
if (ABS(t.columns[0].length() - 1.0) > 0.05 || ABS(t.columns[1].length() - 1.0) > 0.05) {
warnings.push_back(RTR("Size changes to RigidBody2D will be overridden by the physics engine when running.\nChange the size in children collision shapes instead."));