mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-12 15:44:53 +01:00
7d15ceb8d5
This fixes a hard del on freelook eyes, which are used by some antag items and building blueprints. <img width="377" height="152" alt="image" src="https://github.com/user-attachments/assets/5b1f9b00-88ba-44e1-9888-abf37e59195d" /> The hard del was caused by eye/freelook/Destroy() deleting a **holder** for references before its parent eye/Destroy() could use that holder to correctly clear its references. eye/Destroy() calls release(owner) <img width="189" height="90" alt="image" src="https://github.com/user-attachments/assets/2864debe-15aa-4974-84b1-bc308a886e8f" /> which can only correctly release a reference in the visualnet var if it wasn't already null. But the freelook was nulling it before it could be correctly deconstructed. <img width="364" height="257" alt="image" src="https://github.com/user-attachments/assets/cc5c3010-42e7-4620-924e-564116e7b590" />