RE-SS3D / SS3D

Space Station 3D, another remake of SS13, but with an extra D.
https://ss3d.space/
252 stars 139 forks source link

disable all unnecessary components on construction hologram #1367

Closed stilnat closed 9 months ago

stilnat commented 9 months ago

Summary

Very small PR, to solve an issue that bugs me for my electricity PR. Construction hologram should not do anything beside displaying visually the item to pose. Currently, all the monobehaviours on the hologram will start and try to execute some logic. I ru into some trouble because of that. What this PR does is that it disable all monobehaviours upon instantiating an object to be an hologram. I've tried with around 30 holograms and didn't notice any issue.

PR checklist

Pictures/Videos)

Testing

Networking checklist

Changes

Related issues/PRs