remove "anim_group_files" config setting - this fixes a bug with IL2CPP where json library tried to use Reflection.Emit functions

This commit is contained in:
in0finite 2021-10-21 11:16:05 +02:00
parent 2046a0fd55
commit e3c0cbc81c
2 changed files with 1 additions and 7 deletions

View file

@ -10,9 +10,6 @@
"handling_path": "${game_dir}/data/handling.cfg",
"water_path": "${game_dir}/data/water.dat",
"car_colors_path": "${game_dir}/data/carcols.dat",
"anim_group_files": [
"animgrp.dat"
],
"weapons_path": "${game_dir}/data/weapon.dat",
"dontLoadTextures": false,

View file

@ -370,10 +370,7 @@ namespace SanAndreasUnity.Behaviours
private static void StepLoadAnimGroups ()
{
foreach (string fileName in Config.Get<string[]>("anim_group_files"))
{
AnimationGroup.Load(fileName);
}
AnimationGroup.Load("animgrp.dat");
// load custom anim groups from resources
TextAsset textAsset = Resources.Load<TextAsset>("Data/auxanimgrp");