Skip emerald bounce logic in Y_Ticker on dedicated

This commit is contained in:
spherallic 2023-04-19 12:13:29 +02:00
parent e5a1fee759
commit 6ff37b47d9

View file

@ -1133,7 +1133,11 @@ void Y_Ticker(void)
}
// emerald bounce
if (intertic <= 1)
if (dedicated)
{
// dedicated servers don't need this, especially since it crashes when stagefailed
}
else if (intertic <= 1)
{
data.spec.emeraldbounces = 0;
data.spec.emeraldmomy = 20;