From 97b727143a25b0fec33933e3e386cbeb2076259c Mon Sep 17 00:00:00 2001 From: Green Sky Date: Sun, 7 Jan 2024 19:03:38 +0100 Subject: [PATCH] fix rendercall wrongly calling tick --- solanaceae/plugin/plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solanaceae/plugin/plugin.cpp b/solanaceae/plugin/plugin.cpp index ad89bb3..fd873d2 100644 --- a/solanaceae/plugin/plugin.cpp +++ b/solanaceae/plugin/plugin.cpp @@ -140,7 +140,7 @@ float Plugin::tick(float delta) const { float Plugin::render(float delta) const { assert(valid_plugin); if (_fn_render != nullptr) { - return reinterpret_cast(_fn_tick)(delta); + return reinterpret_cast(_fn_render)(delta); } else { return std::numeric_limits::max(); }