From 79e76d23a7402458c493747e9a30f639d4e6676a Mon Sep 17 00:00:00 2001 From: Blur Date: Fri, 11 Oct 2024 18:08:19 -0500 Subject: [PATCH] remove spectate pf text in player-pf mode --- src/Lua/HUD/hud_pfviewpoint.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Lua/HUD/hud_pfviewpoint.lua b/src/Lua/HUD/hud_pfviewpoint.lua index 3424512..df26e6b 100644 --- a/src/Lua/HUD/hud_pfviewpoint.lua +++ b/src/Lua/HUD/hud_pfviewpoint.lua @@ -1,7 +1,9 @@ local pfviewpoint_hud = function(v, p) if not PTSR.IsPTSR() then return end if not (p.spectator) then return end - + local gm_metadata = PTSR.currentModeMetadata() + if gm_metadata.player_pizzaface then return end + local me = p.realmo if not (me and me.valid) then return end