Skip to content

Commit aecc597

Browse files
committed
Remove environment.close() from play mode example
This causes AAI to close after a few seconds, and so was giving users a bit of grief when they were trying out playing longer arenas
1 parent 214eb56 commit aecc597

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

docs/gettingStarted/Launching-AAI.md

-3
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,6 @@ except UnityCommunicationException:
8181
# always try to close it from script (environment.close())
8282
environment.close()
8383
print("Environment was closed")
84-
85-
if environment:
86-
environment.close() # takes a few seconds to close...
8784
```
8885
8986
The most common mistake is not specifying the correct path to the application and/or the configuration file. Ensure you replace `your-config-file.yml` with the path to your configuration file and `your-path-to-application.exe` with the path to the AnimalAI.exe file.

0 commit comments

Comments
 (0)