Use exact args for fight style not gamedata lookup
This commit is contained in:
@@ -144,7 +144,7 @@ function syncCivilianProperties(civilian) {
|
||||
if(getGame() == GAME_GTA_SA) {
|
||||
if(doesEntityDataExist(civilian, "ag.fightStyle")) {
|
||||
let fightStyle = getEntityData(civilian, "ag.fightStyle");
|
||||
civilian.setFightStyle(getGameData().fightStyles[gta.game][0][1]);
|
||||
civilian.setFightStyle(fightStyle[0], fightStyle[1]);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user