ID:2828874
 
Resolved
After a failed compilation, checking or unchecking files in the file tree didn't update the .dme file on subsequent compilations.
BYOND Version:515.1590
Operating System:Windows 10 Home
Web Browser:Chrome 106.0.0.0
Applies to:Dream Maker
Status: Resolved (515.1591)

This issue has been resolved.
Descriptive Problem Summary:
Un-including a DM file that throws an error, and then attempting to compile will prevent that DM file from being re-included due to the error. Re-launching Dream Maker shows that the file is not included in the DME & visually on the tick box. Un-including, attempting to compile, getting the error, then relaunching Dream Maker entirely and re-ticking the tick box will allow you to compile as normal.

Numbered Steps to Reproduce Problem:
1. Have two DM files in a project.
2. Have a snippet of code reliant on the second DM file in the first.
3. Un-include the second file.
4. Attempt to compile. Error will be received.
5. Attempt to re-tick include box.
6. Error still occurs & file is not re-included.

Code Snippet (if applicable) to Reproduce Problem: https://www.dropbox.com/s/f3dd67u3keo0j2w/test.zip?dl=0

Expected Results:
File reincludes upon compile, code runs without the error appearing.

Actual Results:
File will not re-include.

Does the problem occur:
Every time upon trying to compile without attempting the workarounds.

When does the problem NOT occur?
The problem only doesn't occur when you manually re-write the include within the DME or fully reboot Dream Maker and re-tick the box without attempting to compile with it unincluded.

Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)

It did not occur in BYOND version 514.1589.

Workarounds:

The problem only doesn't occur when you manually re-write the include within the DME or fully reboot Dream Maker and re-tick the box without attempting to compile with it unincluded.
Lummox JR resolved issue with message:
After a failed compilation, checking or unchecking files in the file tree didn't update the .dme file on subsequent compilations.