Update RemovePhysicsNode.hx

This commit is contained in:
knowledgenude 2020-09-07 10:59:31 -03:00 committed by GitHub
parent b8ccf404e5
commit 2aedf8256e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,7 +15,7 @@ class RemovePhysicsNode extends LogicNode {
#if arm_physics
var rigidBody = object.getTrait(RigidBody);
if (rigidBody != null) rigidBody.remove();
rigidBody.remove();
#end
runOutput(0);