Skip to content

Conversation

EvilShadeZ
Copy link

For some reason, the parameters for Windows are inverted compared to everything else. By default these are the values: -1 (Unset) 0 (Closed/Off) 1 (On / Open)
For vehicle windows, they are: -1 (Unset) 0 (Open) 1(Closed). This behaviour is making VehicleParameterValue enum work not as intended. I've added some checks and inverted them.

For some reason, the parameters for Windows are inverted compared to everything else. By default these are the values: -1 (Unset) 0 (Closed/Off) 1 (On / Open)
For vehicle windows, they are: -1 (Unset) 0 (Open) 1(Closed). This behaviour is making VehicleParameterValue work not as intended. I've added some checks to invert them.
@EvilShadeZ EvilShadeZ closed this Nov 15, 2022
@EvilShadeZ EvilShadeZ reopened this Nov 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant