This commit is contained in:
Lucas 2024-07-29 14:04:10 +02:00
parent a9bc4abfb8
commit 05f607aafe

View file

@ -70,6 +70,7 @@ func pointcast():
if (hoveredObjects.size() >= 2):
sortByPosY(hoveredObjects,false)
if (hoveredObjects[0] != hoveredObject):
$GrabTimer.stop()
if (hoveredObject and hoveredObject.has_method("on_unhover")):
hoveredObject.on_unhover()
hoveredObject = hoveredObjects[0]