mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-23 03:12:38 +00:00
If Lua disabled intermission emeralds, skip sounds
This commit is contained in:
parent
6ff37b47d9
commit
c2c430853c
1 changed files with 2 additions and 1 deletions
|
@ -1133,9 +1133,10 @@ void Y_Ticker(void)
|
|||
}
|
||||
|
||||
// emerald bounce
|
||||
if (dedicated)
|
||||
if (dedicated || !LUA_HudEnabled(hud_intermissionemeralds))
|
||||
{
|
||||
// dedicated servers don't need this, especially since it crashes when stagefailed
|
||||
// also skip this if Lua disabled intermission emeralds, so it doesn't play sounds
|
||||
}
|
||||
else if (intertic <= 1)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue