aboutsummaryrefslogtreecommitdiffstats
path: root/code/entity/DroppedWeapon.cs
diff options
context:
space:
mode:
authorLeonardo Bishop <me@leonardobishop.com>2023-07-30 02:45:36 +0100
committerLeonardo Bishop <me@leonardobishop.com>2023-07-30 02:45:36 +0100
commit914512435d37d9f1e1ea4c045afd4ec5612b7534 (patch)
treeaca7ae248159ad9dd6bf5ec09c4f6b2b4eb92848 /code/entity/DroppedWeapon.cs
parentd599275439cd35e0d3e3146e39be809df55459bd (diff)
Replace movement controllers
Diffstat (limited to 'code/entity/DroppedWeapon.cs')
-rw-r--r--code/entity/DroppedWeapon.cs2
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;