Skip to content

Commit 579a33a

Browse files
authored
Merge pull request #872 from Unity-Technologies/release-v0.4-hallwayil-bugfix
[Hotfix] Remove code in PushAgentBasic that presumes that there is only one brain
2 parents 060a9ef + 3f855c4 commit 579a33a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

unity-environment/Assets/ML-Agents/Examples/PushBlock/Scripts/PushAgentBasic.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@ public class PushAgentBasic : Agent
5252

5353
void Awake()
5454
{
55-
// There is one brain in the scene so this should find our brain.
56-
brain = FindObjectOfType<Brain>();
5755
academy = FindObjectOfType<PushBlockAcademy>(); //cache the academy
5856
}
5957

0 commit comments

Comments
 (0)