small action bar fixes (#21655)

This commit is contained in:
Nemanja
2023-11-14 20:35:43 -05:00
committed by GitHub
parent a43ebc45ba
commit 2727f63bf3
2 changed files with 3 additions and 1 deletions

View File

@@ -326,6 +326,7 @@ public sealed class ActionButton : Control, IEntityControl
{
base.FrameUpdate(args);
Cooldown.Visible = _action != null && _action.Cooldown != null;
if (_action == null)
return;