Update EXPComponent delegate usage
This commit is contained in:
parent
dd8cc06e33
commit
6106a2dae6
|
@ -23,7 +23,7 @@ void AWeapon::BeginPlay()
|
|||
|
||||
if (expcomponent)
|
||||
{
|
||||
expcomponent->OnEXPLevelUp.BindUObject(this, &AWeapon::UpgradeWeapon);
|
||||
expcomponent->OnEXPLevelUp.AddUniqueDynamic(this, &AWeapon::UpgradeWeapon);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue