Update EXPComponent delegate usage

This commit is contained in:
baz 2024-11-16 02:19:24 +00:00
parent dd8cc06e33
commit 6106a2dae6
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ void AWeapon::BeginPlay()
if (expcomponent)
{
expcomponent->OnEXPLevelUp.BindUObject(this, &AWeapon::UpgradeWeapon);
expcomponent->OnEXPLevelUp.AddUniqueDynamic(this, &AWeapon::UpgradeWeapon);
}
}