[PickLocation] Actually return null when input invalid
This commit is contained in:
parent
4273aff1fb
commit
4ee1131f6e
|
@ -15,7 +15,7 @@ class PickLocationNode extends LogicNode {
|
|||
var object: Object = inputs[0].get();
|
||||
var coords: Vec4 = inputs[1].get();
|
||||
|
||||
if (object == null || coords == null) null;
|
||||
if (object == null || coords == null) return null;
|
||||
|
||||
#if arm_physics
|
||||
var physics = armory.trait.physics.PhysicsWorld.active;
|
||||
|
|
Loading…
Reference in a new issue