summaryrefslogtreecommitdiff
path: root/src/battle_util.c
diff options
context:
space:
mode:
authorPhlosioneer <mattmdrr2@gmail.com>2019-03-05 01:46:20 -0500
committerPhlosioneer <mattmdrr2@gmail.com>2019-03-05 01:46:20 -0500
commit18902219ad0a67f51a443e83973cfe3f03970101 (patch)
tree47d5515db83cab1e5570277db00d181e3b11c584 /src/battle_util.c
parent1e7f4a80c77832d952688206bd7c98e11dba25ba (diff)
Fix make to look for .json files instead of folders
Currently, when Make is building the maps, it considers every folder in the data/maps/ directory as a map that needs to be built, even folders that are empty. This can be a problem when modding on a separate branch, because git doesn't always clean up directories when switching branches (usually because of hidden files in those directories), so switching back to an unmodded branch will leave an empty folder that confuses make. This commit changes the makefile so that it only checks directories that have map.json files in them.
Diffstat (limited to 'src/battle_util.c')
0 files changed, 0 insertions, 0 deletions