Changing some values

This commit is contained in:
Anonymous Raccoon
2018-03-24 14:17:46 +01:00
parent 6cecf38290
commit 45de2dd377
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -379,7 +379,7 @@ public class PlayerMovement : MonoBehaviour
//Hook
if (hookType != HookType.None)
{
if (!Input.GetKey(HookKey) || (objectHooked == null && hookType == HookType.SmallProjectile))
if (!Input.GetKey(HookKey) || (objectHooked == null && (hookType == HookType.SmallProjectile || hookType == HookType.LargeProjectile)))
{
Destroy(hook);
SpringJoint spring = GetComponent<SpringJoint>();