mirror of
				https://github.com/DerTyp7/defrain-shooter-unity.git
				synced 2025-10-29 20:52:10 +01:00 
			
		
		
		
	idk
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
| @@ -83,11 +83,11 @@ public class WeaponManager : NetworkBehaviour | ||||
|         bool condition = true; | ||||
|         if (lastActive <= -1) { lastActive = size; } | ||||
|         if(lastActive >= l.Count) { lastActive = 0; } | ||||
|         for (int i = lastActive+direction; condition; i+= direction) { | ||||
|         for (int i = lastActive+direction; condition; i+=direction) { | ||||
|             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) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Noah4ever
					Noah4ever