fixed player in bot fights and their scaled time features (player not time scaled). Now player can join to fights for justice.
This commit is contained in:
@ -68,7 +68,9 @@ public class CharacterFactory : MonoBehaviour
|
||||
if (typeAi == TypeAI.HumanAI)
|
||||
{
|
||||
print("added player to list");
|
||||
gameobject.GetComponent<Player>().GetCharacter.Team = team;
|
||||
var myPlayer = gameobject.GetComponent<Player>().GetCharacter;
|
||||
myPlayer.Team = team;
|
||||
myPlayer.TypeAi = TypeAI.HumanAI;
|
||||
Player = gameobject;
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user