Skip to content

Commit

Permalink
Merge pull request #471 from kreghek/hotfixs
Browse files Browse the repository at this point in the history
HOTFIX Монстры поверх лестницы
  • Loading branch information
kreghek authored Aug 19, 2019
2 parents 963dc2d + 80e756a commit eb1ff95
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ private void CreateMonsterViewModels(IEnumerable<MapNodeVM> nodeViewModels)

var actorGraphic = Instantiate(MonoGraphicPrefab, actorViewModel.transform);
actorViewModel.GraphicRoot = actorGraphic;
actorGraphic.transform.position = new Vector3(0, /*0.2f*/0, 0);
actorGraphic.transform.position = new Vector3(0, /*0.2f*/0, -0.27f);

var graphicController = actorViewModel.gameObject.AddComponent<MonsterSingleActorGraphicController>();
graphicController.Actor = monsterActor;
Expand Down Expand Up @@ -389,7 +389,7 @@ private void CreateTraderViewModel(IEnumerable<MapNodeVM> nodeViewModels, IActor

var actorGraphic = Instantiate(MonoGraphicPrefab, actorViewModel.transform);
actorViewModel.GraphicRoot = actorGraphic;
actorGraphic.transform.position = new Vector3(0, /*0.2f*/0, 0);
actorGraphic.transform.position = new Vector3(0, /*0.2f*/0, -0.27f);

var graphicController = actorViewModel.gameObject.AddComponent<MonsterSingleActorGraphicController>();
graphicController.Actor = actor;
Expand Down

0 comments on commit eb1ff95

Please sign in to comment.