Add loadout names (#31303)
* Add loadout names Did it for AI, breaking change for pgsql + migrations in general. Nothing atm uses it. * the box * Spawning cherry pick * Fix nit * revert * Final cleanup * Real * Name UI fix * Migrations * a * Review * Re-run migrations --------- Co-authored-by: Pieter-Jan Briers <pieterjan.briers+git@gmail.com>
This commit is contained in:
@@ -222,6 +222,7 @@ namespace Content.Server.Database
|
||||
{
|
||||
var loadout = new RoleLoadout(role.RoleName)
|
||||
{
|
||||
EntityName = role.EntityName,
|
||||
};
|
||||
|
||||
foreach (var group in role.Groups)
|
||||
@@ -319,6 +320,7 @@ namespace Content.Server.Database
|
||||
var dz = new ProfileRoleLoadout()
|
||||
{
|
||||
RoleName = role,
|
||||
EntityName = loadouts.EntityName ?? string.Empty,
|
||||
};
|
||||
|
||||
foreach (var (group, groupLoadouts) in loadouts.SelectedLoadouts)
|
||||
|
||||
Reference in New Issue
Block a user