Closed Xymanek closed 3 years ago
Okay this one is pretty easy -- we just need to delete the *.u
files when switching between debug and non-debug mode. Firaxis' ModBuddy plugin has a static variable to persist an enum that is one of "not built this session", "built in debug" and "built in non-debug" and deletes appropriately. We probably should persist the last build mode in a text file somewhere to achieve the same effect.
Steps to reproduce:
1) Build mod in default/release (must be successful) 2) Attempt to build the mod in debug
Expected outcome: success Actual outcome:;
3) Build again in debug
It appears that on the first build invocation the base game scripts
make
doesn't see that the mode has changed for some reason.Note that building first in debug and then switching to release produces the exact same result
cc @robojumper - I have no idea how the
make
cmdlet works