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:
parent
c2ad332b21
commit
46ac2ff1de
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue