Update filesystem.lua

The new include_file directive uses the "scenarios" directory as the asset type, so add it to `filesystem.asset_type`.
This commit is contained in:
Celtic Minstrel 2023-07-23 11:58:02 -04:00 committed by GitHub
parent c2ad332b21
commit 46ac2ff1de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,6 +8,7 @@ filesystem.asset_type = {
SOUND = 'sounds',
MUSIC = 'music',
MAP = 'maps',
SCENARIO = 'scenario',
}
wesnoth.have_file = wesnoth.deprecate_api('wesnoth.have_file', 'filesystem.have_file', 1, nil, filesystem.have_file)