This commit is contained in:
Noah4ever
2021-11-22 16:26:15 +01:00
parent 420dd1199a
commit a5fef8f5e0
2 changed files with 3 additions and 3 deletions

View File

@@ -601,7 +601,7 @@ MonoBehaviour:
syncMode: 0
syncInterval: 0.1
stepAmplitudeWalking: 0.02
stepAmplitudeSprinting: 0.07
stepAmplitudeSprinting: 0.04
stepFrequency: 0.3
playerController: {fileID: -4574526707603160507}
currentCameraRecoilX: 0

View File

@@ -87,7 +87,7 @@ public class WeaponManager : NetworkBehaviour
if (i >= l.Count) { i = 0; size = lastActive; }
else if(i < 0) { i = size-1; size = -1; }
if (l[i] != null) {
if(l[lastActive] != null) { Debug.Log("SetActive(False)"); l[lastActive].SetActive(false); }
if(l[lastActive] != null) { l[lastActive].SetActive(false); }
return i;
}
if (direction == 1) {