broadcast changes

This commit is contained in:
Lucca Faria Ferri 2023-06-12 03:38:01 -03:00
parent a00de9d18a
commit 94aa570ca2

View File

@ -37,6 +37,7 @@ public class SpeedCommand : CommandGroup
if (speedValue <= baseSpeed) // Base Run Speed [Necrosummon]
{
playerSpeed[GameAttributes.Running_Rate] = baseSpeed;
playerSpeed.BroadcastChangedIfRevealed();
return $"Speed reset to Base Speed ({baseSpeed:0.000}).";
}
playerSpeed.FixedMap.Add(FixedAttribute.Speed, attr => attr[GameAttributes.Running_Rate] = speedValue);