Fixed demon to patron ratio issue.

This commit is contained in:
shakurass 2014-04-30 13:48:51 -06:00
commit 7559650d35
8 changed files with 12 additions and 4 deletions

View file

@ -14,6 +14,11 @@ public class WalkAI : MonoBehaviour {
GameObject poi1 = allPois[Random.Range (0, allPois.Length)];
GameObject poi2 = allPois[Random.Range (0, allPois.Length)];
while (poi2 == poi1) {
poi2 = allPois[Random.Range (0, allPois.Length)];
}
Debug.Log (poi1.name + "," + poi2.name);
destinations = new GameObject[2] {
poi1,