From 4d0e4d781b1da12e17e3b38b7f80b44890b929bf Mon Sep 17 00:00:00 2001 From: salmonik Date: Wed, 4 Nov 2026 11:44:47 +0100 Subject: Props: install the studio hooks again The entity-path rewrite of prop_tint_update dropped studio_props_init(), so the minimal IStudioRender hooks were never installed (no studio: log lines). Call it while the prop tint is enabled. --- src/esp.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/esp.cpp b/src/esp.cpp index 64c1525..4a6b513 100644 --- a/src/esp.cpp +++ b/src/esp.cpp @@ -1414,6 +1414,8 @@ void prop_tint_update() { static bool logged_missing = false; static bool logged_touched = false; bool on = feature_active(FEAT_WORLD_TINT) && g_tint_prop_on; + if (on) + studio_props_init(); if (!on && !applied) return; if (!g_iface.entitylist || g_net.clr_render < 0) { -- cgit v1.2.3