Explicitly return false.

This commit is contained in:
armored-dragon 2025-03-31 13:06:27 -05:00
parent ce787d5803
commit d8103eb7dd
No known key found for this signature in database
GPG key ID: C7207ACC3382AD8B

View file

@ -357,7 +357,7 @@ Script.include("/~/system/libraries/controllers.js");
};
this.notPointingAtEntity = function (controllerData) {
if (!hudRayPick.intersects) return;
if (!hudRayPick.intersects) return false;
var intersection = controllerData.rayPicks[this.hand];
var entityProperty = Entities.getEntityProperties(intersection.objectID, "type");