From 21586da50ef5fe916c57e10b0aaa14e396f07dd2 Mon Sep 17 00:00:00 2001
From: Jovan Gerodetti <jovan.gerodetti@titannano.de>
Date: Tue, 18 Jun 2024 00:52:04 +0200
Subject: Make profiling_get_frame_data call the correct GDVIRTUAL method.

---
 core/object/script_language_extension.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/object/script_language_extension.h b/core/object/script_language_extension.h
index 8fd26c3d2c..c9344f5799 100644
--- a/core/object/script_language_extension.h
+++ b/core/object/script_language_extension.h
@@ -646,7 +646,7 @@ public:
 
 	virtual int profiling_get_frame_data(ProfilingInfo *p_info_arr, int p_info_max) override {
 		int ret = 0;
-		GDVIRTUAL_REQUIRED_CALL(_profiling_get_accumulated_data, p_info_arr, p_info_max, ret);
+		GDVIRTUAL_REQUIRED_CALL(_profiling_get_frame_data, p_info_arr, p_info_max, ret);
 		return ret;
 	}
 
-- 
cgit v1.2.3