From 914512435d37d9f1e1ea4c045afd4ec5612b7534 Mon Sep 17 00:00:00 2001 From: Leonardo Bishop Date: Sun, 30 Jul 2023 02:45:36 +0100 Subject: Replace movement controllers --- code/entity/DroppedWeapon.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'code/entity/DroppedWeapon.cs') 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( WeaponType ); instance.Ammo = Ammo; -- cgit v1.2.3-70-g09d2