diff --git a/Source/vampires/Weapon.cpp b/Source/vampires/Weapon.cpp index 5c10f06..195d957 100644 --- a/Source/vampires/Weapon.cpp +++ b/Source/vampires/Weapon.cpp @@ -23,7 +23,7 @@ void AWeapon::BeginPlay() if (expcomponent) { - expcomponent->OnEXPLevelUp.BindUObject(this, &AWeapon::UpgradeWeapon); + expcomponent->OnEXPLevelUp.AddUniqueDynamic(this, &AWeapon::UpgradeWeapon); } }