Fix dice sprite error (#13628)
Fix https://github.com/space-wizards/space-station-14/issues/13627
This commit is contained in:
@@ -21,7 +21,7 @@ public abstract class SharedDiceSystem : EntitySystem
|
||||
private void OnHandleState(EntityUid uid, DiceComponent component, ref ComponentHandleState args)
|
||||
{
|
||||
if (args.Current is DiceComponent.DiceState state)
|
||||
component.CurrentValue = state.CurrentSide;
|
||||
component.CurrentValue = state.CurrentValue;
|
||||
|
||||
UpdateVisuals(uid, component);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user