Fixes loading scars file (#62928)

a317825223 broke loading default string files with load_strings_file(), since there was no default directory
This commit is contained in:
Archanial
2021-11-18 10:07:47 +01:00
committed by GitHub
parent dd4774bf9d
commit 9da15545d2
+1 -1
View File
@@ -33,7 +33,7 @@ GLOBAL_VAR(string_filename_current_key)
/proc/strings_subkey_lookup(match, group1)
return pick_list(GLOB.string_filename_current_key, group1)
/proc/load_strings_file(filepath, directory)
/proc/load_strings_file(filepath, directory = STRING_DIRECTORY)
if(IsAdminAdvancedProcCall())
return