mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-08-06 03:48:40 +00:00
Fix weird naming convention
This commit is contained in:
parent
29e3f8661d
commit
d14a049741
1 changed files with 2 additions and 2 deletions
|
@ -99,7 +99,7 @@ public class GameStream : ILbpSerializable, INeedsPreparationForSerialization
|
|||
}
|
||||
|
||||
public static GameStream CreateFromGroups
|
||||
(GameTokenEntity token, List<OuterActivityGroup> groups, long startTimestamp, long endTimestamp, bool dontNest = false)
|
||||
(GameTokenEntity token, List<OuterActivityGroup> groups, long startTimestamp, long endTimestamp, bool removeNesting = false)
|
||||
{
|
||||
GameStream gameStream = new()
|
||||
{
|
||||
|
@ -117,7 +117,7 @@ public class GameStream : ILbpSerializable, INeedsPreparationForSerialization
|
|||
gameStream.Groups = groups.Select(GameStreamGroup.CreateFromGroup).ToList();
|
||||
|
||||
// Workaround for level activity because it shouldn't contain nested activity groups
|
||||
if (gameStream.Groups.Count == 1 && groups.First().Key.GroupType == ActivityGroupType.Level && !dontNest)
|
||||
if (gameStream.Groups.Count == 1 && groups.First().Key.GroupType == ActivityGroupType.Level && removeNesting)
|
||||
{
|
||||
gameStream.Groups = gameStream.Groups.First().Groups;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue