Fix kitchen spike (#13879)
This commit is contained in:
@@ -173,7 +173,7 @@ namespace Content.Server.Kitchen.EntitySystems
|
|||||||
if (!Resolve(uid, ref component, ref appearance, false))
|
if (!Resolve(uid, ref component, ref appearance, false))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
_appearance.SetData(uid, KitchenSpikeVisuals.Status, (component.PrototypesToSpawn?.Count > 0 ? KitchenSpikeStatus.Bloody : KitchenSpikeStatus.Empty, appearance));
|
_appearance.SetData(uid, KitchenSpikeVisuals.Status, component.PrototypesToSpawn?.Count > 0 ? KitchenSpikeStatus.Bloody : KitchenSpikeStatus.Empty, appearance);
|
||||||
}
|
}
|
||||||
|
|
||||||
private bool Spikeable(EntityUid uid, EntityUid userUid, EntityUid victimUid,
|
private bool Spikeable(EntityUid uid, EntityUid userUid, EntityUid victimUid,
|
||||||
|
|||||||
Reference in New Issue
Block a user