From 0c7d9a0008d62dfc7c8e5723f036312c6925af6e Mon Sep 17 00:00:00 2001 From: Truman Kilen Date: Wed, 17 Jul 2024 10:19:40 -0500 Subject: [PATCH] FUNC_Final flag is unnecessary --- hook/src/hooks/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hook/src/hooks/mod.rs b/hook/src/hooks/mod.rs index a474b25..801efe6 100644 --- a/hook/src/hooks/mod.rs +++ b/hook/src/hooks/mod.rs @@ -78,7 +78,7 @@ pub unsafe fn initialize() -> Result<()> { if let Some(hook) = hooks.get(path.as_str()) { function .function_flags - .insert(ue::EFunctionFlags::FUNC_Native | ue::EFunctionFlags::FUNC_Final); + .insert(ue::EFunctionFlags::FUNC_Native); function.func = *hook; } }