mirror of
https://github.com/DerTyp7/defrain-shooter-unity.git
synced 2025-10-30 04:57:10 +01:00
Quick bug fixes
fixed pickup weapon fixed drop weapon changed switch weapon
This commit is contained in:
@@ -77,7 +77,8 @@ public class Shoot : NetworkBehaviour
|
||||
Debug.Log("ThrowGrenade!");
|
||||
// Throws grenade with dropForce
|
||||
weapon.HasBeenThrown = true;
|
||||
weaponManager.dropWeapon(weapon.DropForce);
|
||||
// 3 -> Grenade index
|
||||
weaponManager.dropWeapon(weapon.DropForce, 3);
|
||||
weaponManager.switchWeapon(1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user