Skip to content

Commit

Permalink
X7 nukeops fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Surani1 committed Mar 24, 2024
1 parent 1ffd445 commit b2cdc35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public sealed partial class NukeopsRuleComponent : Component
public WinType WinType = WinType.Neutral;

[DataField]
public List<WinCondition> WinConditions = new();
public List<WinCondition> WinConditions = new ();

public MapId? NukiePlanet;

Expand Down
2 changes: 1 addition & 1 deletion Content.Server/GameTicking/Rules/NukeopsRuleSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ private void DistributeExtraTc(NukeopsRuleComponent nukieRule, LoneOpsSpawnRuleC
!isLoneopsStartMap) // SS220 Lone-Ops-War
continue;

_store.TryAddCurrency(new() { { TelecrystalCurrencyPrototype, nukieRule.WarTCAmountPerNukie } }, uid, component);
_store.TryAddCurrency(new () { { TelecrystalCurrencyPrototype, nukieRule.WarTCAmountPerNukie } }, uid, component);

var msg = Loc.GetString("store-currency-war-boost-given", ("target", uid));
_popupSystem.PopupEntity(msg, uid);
Expand Down

0 comments on commit b2cdc35

Please sign in to comment.