Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chopping - Add tree destruction to tree removal action #140

Open
wants to merge 9 commits into
base: experimental
Choose a base branch
from
Prev Previous commit
Next Next commit
OnInit got replaced with OnPostInit
Kexanone committed Dec 13, 2024
commit 77a07ab78717753918fe8b02f6e8a719297ef6ee
Original file line number Diff line number Diff line change
@@ -29,9 +29,9 @@ modded class SCR_CharacterDamageManagerComponent : SCR_DamageManagerComponent

//-----------------------------------------------------------------------------------------------------------
//! Initialize member variables
override void OnInit(IEntity owner)
override void OnPostInit(IEntity owner)
{
super.OnInit(owner);
super.OnPostInit(owner);

m_pACE_Medical_HealthHitZone = GetHitZoneByName("Health");
if (!m_pACE_Medical_HealthHitZone)