diff --git a/Source/GameClasses/PanoramaUiEngine.h b/Source/GameClasses/PanoramaUiEngine.h index 6a17317450f..a3b40dc48bf 100644 --- a/Source/GameClasses/PanoramaUiEngine.h +++ b/Source/GameClasses/PanoramaUiEngine.h @@ -1,6 +1,7 @@ #pragma once #include +#include #include #include @@ -45,7 +46,7 @@ class PanoramaUiEngine { return handle; } - void deletePanelByHandle(cs2::PanelHandle handle) noexcept + [[NOINLINE]] void deletePanelByHandle(cs2::PanelHandle handle) noexcept { if (handle.isValid()) onDeletePanel(handle);