private void RefillFlask() { if (!MovementChecker()) { return; } if (!m_InPosition) { if (m_Inventory.QueryFlask() == 100) { m_TaskCompleted = true; return; } //transform.LookAt(new Vector3(m_WaterWell.transform.position.x, transform.position.y, m_WaterWell.transform.position.z)); m_Mesh.SetMesh((int)m_CurrentTask); m_ActiveSound = m_Audio.Play(m_TaskSoundName, gameObject); m_InPosition = true; } if (TimerChecker()) { m_Inventory.FillFlask(); m_Audio.Stop(m_ActiveSound); m_TaskCompleted = true; } }