From d36f1f2214651c71be39779579b7e66a6eb3890e Mon Sep 17 00:00:00 2001 From: Blur Date: Fri, 11 Oct 2024 19:50:40 -0500 Subject: [PATCH] remove spectator help hud from ptsr --- src/Lua/HUD/main_hud.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Lua/HUD/main_hud.lua b/src/Lua/HUD/main_hud.lua index 7a4c79e..38a0659 100644 --- a/src/Lua/HUD/main_hud.lua +++ b/src/Lua/HUD/main_hud.lua @@ -23,3 +23,9 @@ end PTSR.debug_x = CV_RegisterVar({name = "ptsr_debug_x", defaultvalue = 0}) PTSR.debug_y = CV_RegisterVar({name = "ptsr_debug_y", defaultvalue = 0}) + +addHook("HUD", function(v,p,c) + if PTSR.IsPTSR() then + hud.disable("textspectator") -- sonic team junior + end +end) \ No newline at end of file