Cyborg module action icons (#32505)
* Init * added jani and medical * + sci and service modules * + syndi modules * fixing up * geiger counter stuff
This commit is contained in:
@@ -60,6 +60,10 @@ public sealed partial class BorgSystem
|
||||
|
||||
if (_actions.AddAction(chassis, ref component.ModuleSwapActionEntity, out var action, component.ModuleSwapActionId, uid))
|
||||
{
|
||||
if(TryComp<BorgModuleIconComponent>(uid, out var moduleIconComp))
|
||||
{
|
||||
action.Icon = moduleIconComp.Icon;
|
||||
};
|
||||
action.EntityIcon = uid;
|
||||
Dirty(component.ModuleSwapActionEntity.Value, action);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user