Add customizable buckled status effect icon per strap

This commit is contained in:
DrSmugleaf
2020-07-04 14:14:39 +02:00
parent 47118e8301
commit abfe86be81
2 changed files with 9 additions and 1 deletions

View File

@@ -55,7 +55,7 @@ namespace Content.Server.GameObjects.Components.Mobs
{
status.ChangeStatusEffectIcon(StatusEffect.Buckled,
Buckled
? "/Textures/Mob/UI/Buckle/buckled.png"
? BuckledTo!.BuckledIcon
: "/Textures/Mob/UI/Buckle/unbuckled.png");
}
}