Skip to content

Commit

Permalink
remove spectator help hud from ptsr
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiskster committed Oct 12, 2024
1 parent 436ccab commit d36f1f2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Lua/HUD/main_hud.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)

3 comments on commit d36f1f2

@luigi-budd
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could also set up a custom hud item without a function and with ptsrs mod name

@Jiskster
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

name one mod that cares about textspectator

@luigi-budd
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well ok fair I guess

Please sign in to comment.