From 49086844386c37b73bc0feec0811fe548993234f Mon Sep 17 00:00:00 2001 From: Anton Tarasenko Date: Thu, 4 Mar 2021 13:56:26 +0700 Subject: [PATCH] Fix method naming for `FixAmmoSelling` --- sources/FixAmmoSelling/MutatorListener_FixAmmoSelling.uc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sources/FixAmmoSelling/MutatorListener_FixAmmoSelling.uc b/sources/FixAmmoSelling/MutatorListener_FixAmmoSelling.uc index 214fc4b..35db4c3 100644 --- a/sources/FixAmmoSelling/MutatorListener_FixAmmoSelling.uc +++ b/sources/FixAmmoSelling/MutatorListener_FixAmmoSelling.uc @@ -29,7 +29,7 @@ static function bool CheckReplacement(Actor other, out byte isSuperRelevant) // as they might not even exist on clients. if (class'FixAmmoSelling'.static.IsReplacer(other.class)) { - ReplacePickupWith(Pickup(other)); + ReplaceOldPickup(Pickup(other)); return false; } CheckAbusableWeapon(KFWeapon(other)); @@ -49,7 +49,7 @@ private static function CheckAbusableWeapon(KFWeapon newWeapon) // This function recreates the logic of 'KFWeapon.DropFrom()', // since standard 'ReplaceWith' function produces bad results. -private static function ReplacePickupWith(Pickup oldPickup) +private static function ReplaceOldPickup(Pickup oldPickup) { local Pawn instigator; local Pickup newPickup;