Skip to content

Commit

Permalink
* fixed: error when package started
Browse files Browse the repository at this point in the history
  • Loading branch information
Kapim committed Mar 24, 2021
1 parent b08ac91 commit 39e07fe
Show file tree
Hide file tree
Showing 3 changed files with 800 additions and 4,666 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public bool updatePose {

protected override void Start() {
base.Start();
if (SceneManager.Instance.RobotsEEVisible && SceneManager.Instance.SceneStarted) {
if (GameManager.Instance.GetGameState() != GameManager.GameStateEnum.PackageRunning && SceneManager.Instance.RobotsEEVisible && SceneManager.Instance.SceneStarted) {
_ = EnableVisualisationOfEE();
}
}
Expand Down
Loading

0 comments on commit 39e07fe

Please sign in to comment.