LobbyUI fixes (#27033)
* LobbyUI fixes I have no idea which were bugs prior but anyway fix stuff. * More fixes * Test moment
This commit is contained in:
@@ -29,6 +29,18 @@ public sealed class RoleLoadout
|
||||
Role = role;
|
||||
}
|
||||
|
||||
public RoleLoadout Clone()
|
||||
{
|
||||
var weh = new RoleLoadout(Role);
|
||||
|
||||
foreach (var selected in SelectedLoadouts)
|
||||
{
|
||||
weh.SelectedLoadouts.Add(selected.Key, new List<Loadout>(selected.Value));
|
||||
}
|
||||
|
||||
return weh;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Ensures all prototypes exist and effects can be applied.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user