mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-20 16:31:03 +00:00
Merge branch 'dedicatedemeraldbounce' into 'next'
Skip emerald bounce logic in intermission ticker on dedicated See merge request STJr/SRB2!1969
This commit is contained in:
commit
eabfadfdf7
1 changed files with 6 additions and 1 deletions
|
@ -1133,7 +1133,12 @@ void Y_Ticker(void)
|
|||
}
|
||||
|
||||
// emerald bounce
|
||||
if (intertic <= 1)
|
||||
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)
|
||||
{
|
||||
data.spec.emeraldbounces = 0;
|
||||
data.spec.emeraldmomy = 20;
|
||||
|
|
Loading…
Reference in a new issue