Skip to content

Commit

Permalink
Fix merge conflicts in PlayTimeTrackingSystem
Browse files Browse the repository at this point in the history
  • Loading branch information
whatston3 committed Jun 18, 2024
1 parent 3da9cb4 commit 7393ac5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -265,18 +265,9 @@ public void RemoveDisallowedJobs(NetUserId userId, List<ProtoId<JobPrototype>> j
for (var i = 0; i < jobs.Count; i++)
{
if (_prototypes.TryIndex(jobs[i], out var job)
&& JobRequirements.TryRequirementsMet(job, playTimes, out _, EntityManager, _prototypes))
&& JobRequirements.TryRequirementsMet(job, playTimes, out _, EntityManager, _prototypes, isWhitelisted))
{
<<<<<<< HEAD
if (JobRequirements.TryRequirementMet(requirement, playTimes, out _, EntityManager, _prototypes, isWhitelisted))
continue;

jobs.RemoveSwap(i);
i--;
break;
=======
continue;
>>>>>>> 6829630d0c7698d0d8adf1fdb55728164d309341
}

jobs.RemoveSwap(i);
Expand Down
6 changes: 3 additions & 3 deletions Content.Shared/Preferences/HumanoidCharacterProfile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,9 @@ public HumanoidCharacterProfile(
/// <summary>Copy constructor but with overridable references (to prevent useless copies)</summary>
private HumanoidCharacterProfile(
HumanoidCharacterProfile other,
Dictionary<string, JobPriority> jobPriorities,
List<string> antagPreferences,
List<string> traitPreferences,
Dictionary<ProtoId<JobPrototype>, JobPriority> jobPriorities,
HashSet<ProtoId<AntagPrototype>> antagPreferences,
HashSet<ProtoId<TraitPrototype>> traitPreferences,
Dictionary<string, RoleLoadout> loadouts)
: this(other.Name, other.FlavorText, other.Species, other.Age, other.Sex, other.Gender, other.BankBalance, other.Appearance, other.SpawnPriority,
jobPriorities, other.PreferenceUnavailable, antagPreferences, traitPreferences, loadouts)
Expand Down

0 comments on commit 7393ac5

Please sign in to comment.