mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2025-02-16 12:58:27 +00:00
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:
parent
2046a0fd55
commit
e3c0cbc81c
2 changed files with 1 additions and 7 deletions
|
@ -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,
|
||||
|
|
|
@ -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");
|
||||
|
|
Loading…
Add table
Reference in a new issue