Skip to content

Commit 9c359f0

Browse files
authored
Merge pull request unitystation#603 from krille90/develop
removed delayed item registering
2 parents 980bd6d + 2593159 commit 9c359f0

2 files changed

Lines changed: 0 additions & 14 deletions

File tree

UnityProject/Assets/Scripts/Objects/PushPull.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -243,9 +243,4 @@ private void PushSync(Vector3 pos)
243243
timeInPush = 0f;
244244
pushing = true;
245245
}
246-
247-
private Vector3 RoundedPos(Vector3 pos)
248-
{
249-
return new Vector3(Mathf.Round(pos.x), Mathf.Round(pos.y), pos.z);
250-
}
251246
}

UnityProject/Assets/Tilemaps/Scripts/Behaviours/Objects/RegisterTile.cs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,6 @@ private set
3636
public void Start()
3737
{
3838
layer = transform.GetComponentInParent<ObjectLayer>();
39-
40-
StartCoroutine(WaitForLoad());
41-
}
42-
43-
IEnumerator WaitForLoad()
44-
{
45-
yield return new WaitForSeconds(2f);
46-
47-
layer = transform.GetComponentInParent<ObjectLayer>();
4839

4940
if (layer == null)
5041
{

0 commit comments

Comments
 (0)