[BUG REPORT] Day/Night Visibility Logic appears to be reversed

Version: * 1.0.86.0*

Frequency: Consistently

Severity: High

Marketplace package name: 42SS - Sunset Strip by //42
Context: 2020 package loaded in 2024

Bug description: With this latest Dev Alpha Build (0.86.0) it appears that there is a bug with the day/night logic. In this scenery we set the visibility code on certain SimObjects based on time of day, however the visibility is now reversed so day becomes night, & night becomes day in the logic. It is not just related to this scenery, this is happening at all our scenes

Repro steps: Load 42SS Sunset Strip, locate the Hungry Bear food truck and change the time of day to night, then day. you will see that it is closed during the day and open during the night. This is incorrect as in 2020 it is open during the day and closed at night.

Attachments:


Here is the visibility code for each model:
Model Open:

(E:TIME OF DAY, Enum) 3 == if{ 0 } els{ 1 }

Model Closed:
(E:TIME OF DAY, Enum) 3 == if{ 1 } els{ 0 }

Please note This issue did not happen in previous Dev Alpha builds

Hello @Jeppeson2001

This is likely related to this issue: MSFS2024 Enviroment Variables not working - [MSFS 2024] Bug Reports / Airport & Sceneries - MSFS DevSupport

There will be a fix for this issue in the next update.
Just checked the scenery you mentioned and it seems to be back to normal.

Regards,
Sylvain