diff options
| author | Leonardo Bishop <me@leonardobishop.com> | 2023-07-30 02:45:36 +0100 |
|---|---|---|
| committer | Leonardo Bishop <me@leonardobishop.com> | 2023-07-30 02:45:36 +0100 |
| commit | 914512435d37d9f1e1ea4c045afd4ec5612b7534 (patch) | |
| tree | aca7ae248159ad9dd6bf5ec09c4f6b2b4eb92848 /code/entity/DroppedWeapon.cs | |
| parent | d599275439cd35e0d3e3146e39be809df55459bd (diff) | |
Replace movement controllers
Diffstat (limited to 'code/entity/DroppedWeapon.cs')
| -rw-r--r-- | code/entity/DroppedWeapon.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/code/entity/DroppedWeapon.cs b/code/entity/DroppedWeapon.cs index 0cea7da..a58bdb1 100644 --- a/code/entity/DroppedWeapon.cs +++ b/code/entity/DroppedWeapon.cs @@ -29,7 +29,7 @@ public partial class DroppedWeapon : AnimatedEntity MurderGame.Player player = (MurderGame.Player)other;
- if ( player.Inventory == null || player.Inventory.PrimaryWeapon != null || !player.Inventory.AllowPickup) return;
+ if ( player.Inventory== null || player.Inventory.PrimaryWeapon != null || !player.Inventory.AllowPickup) return;
Weapon instance = TypeLibrary.Create<Weapon>( WeaponType );
instance.Ammo = Ammo;
|
