Immersive Vehicles (Formerly Transport Simulator)

Immersive Vehicles (Formerly Transport Simulator)

4M Downloads

`lockingVariables` do not work

DrprofLuigi opened this issue ยท 2 comments

commented

lockingVariables don't appear to do anyhting.

The intended action is to make the part permanent if the list is true. This is similar to interactableVariables, however it allows the part to be interacted with, including the removal of subparts.

line 219 in APart.java is a good place to begin looking, but I couldn't really make it work. It could also be a problem with canBeClicked not inheriting properly.

commented

So basically, you can interact with the part as designed, but when you go to remove it, you can remove it, even if you shouldn't be able to?

commented

Found out you're using these backwards. They lock unless everything in the list is true, then they unlock. Confirmed as of latest beta, will close out on release.