projects
/
xonotic
/
xonotic-data.pk3dir.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9755303
)
Don't allow opening scoreboard UI / team selection in demos
author
terencehill <piuntn@gmail.com>
Sun, 24 Jul 2022 16:26:36 +0000
(18:26 +0200)
committer
terencehill <piuntn@gmail.com>
Sun, 24 Jul 2022 16:26:36 +0000
(18:26 +0200)
qcsrc/client/hud/panel/scoreboard.qc
patch
|
blob
|
history
diff --git
a/qcsrc/client/hud/panel/scoreboard.qc
b/qcsrc/client/hud/panel/scoreboard.qc
index 83700a7e5efe52ece3d5b7cedf510172e0972ffc..83c487419b7fe00a35b053594abbec9fca64a095 100644
(file)
--- a/
qcsrc/client/hud/panel/scoreboard.qc
+++ b/
qcsrc/client/hud/panel/scoreboard.qc
@@
-184,6
+184,8
@@
void HUD_Scoreboard_UI_Disable_Instantly()
// mode: 0 normal, 1 team selection
void Scoreboard_UI_Enable(int mode)
{
+ if(isdemo()) return;
+
if (mode == 1)
{
if (scoreboard_ui_enabled == 2 || !teamplay || intermission)