Skip to content

Commit

Permalink
:trollface:
Browse files Browse the repository at this point in the history
Signed-off-by: deltanedas <[email protected]>
  • Loading branch information
deltanedas authored Jan 9, 2025
1 parent 6e5dac2 commit fa042c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Content.Server/GameTicking/Rules/NukeopsRuleSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public sealed class NukeopsRuleSystem : GameRuleSystem<NukeopsRuleComponent>
[Dependency] private readonly RoundEndSystem _roundEndSystem = default!;
[Dependency] private readonly StoreSystem _store = default!;
[Dependency] private readonly TagSystem _tag = default!;
[Dependency] private readonly KidnapHeadsConditionSystem _kidnapSystem = default!; // DeltaV
[Dependency] private readonly KidnapHeadsConditionSystem _kidnap = default!; // DeltaV
[Dependency] private readonly SharedMapSystem _map = default!; // DeltaV

[ValidatePrototypeId<CurrencyPrototype>]
Expand Down Expand Up @@ -179,7 +179,7 @@ private void OnFTLCompleted(Entity<NukeOpsShuttleComponent> ent, ref FTLComplete
if (!objectives.MoveNext(out var objUid, out var kidnapHeads)) // No kidnap head objectives
return;

if (!_kidnapSystem.IsCompleted((objUid, kidnapHeads)))
if (!_kidnap.IsCompleted((objUid, kidnapHeads)))
return;

nukeops.WinConditions.Add(WinCondition.NukiesKidnappedHeads);
Expand Down

0 comments on commit fa042c8

Please sign in to comment.