Skip to content

Commit

Permalink
Update NfAdventureRuleSystem.cs (#864)
Browse files Browse the repository at this point in the history
  • Loading branch information
FoxxoTrystan authored Jan 10, 2024
1 parent 587e07f commit 15be8e2
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions Content.Server/_NF/GameRule/NfAdventureRuleSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ private void OnStartup(RoundStartingEvent ev)
var tinnia = "/Maps/_NF/POI/tinnia.yml";
var caseys = "/Maps/_NF/POI/caseyscasino.yml";
var lpbravo = "/Maps/_NF/POI/lpbravo.yml";
var northpole = "/Maps/_NF/POI/northpole.yml";
// var northpole = "/Maps/_NF/POI/northpole.yml";
var arena = "/Maps/_NF/POI/arena.yml";
var cove = "/Maps/_NF/POI/cove.yml";
var courthouse = "/Maps/_NF/POI/courthouse.yml";
Expand Down Expand Up @@ -181,15 +181,15 @@ private void OnStartup(RoundStartingEvent ev)
_shuttle.AddIFFFlag(depotUid4s[0], IFFFlags.HideLabel);
}

if (_map.TryLoad(mapId, northpole, out var northpoleUids, new MapLoadOptions
{
Offset = _random.NextVector2(2150f, 3900f)
}))
{
var meta = EnsureComp<MetaDataComponent>(northpoleUids[0]);
_shuttle.SetIFFColor(northpoleUids[0], lpbravoColor);
_shuttle.AddIFFFlag(northpoleUids[0], IFFFlags.HideLabel);
}
// if (_map.TryLoad(mapId, northpole, out var northpoleUids, new MapLoadOptions
// {
// Offset = _random.NextVector2(2150f, 3900f)
// }))
// {
// var meta = EnsureComp<MetaDataComponent>(northpoleUids[0]);
// _shuttle.SetIFFColor(northpoleUids[0], lpbravoColor);
// _shuttle.AddIFFFlag(northpoleUids[0], IFFFlags.HideLabel);
// }

if (_map.TryLoad(mapId, arena, out var depotUid5s, new MapLoadOptions
{
Expand Down

0 comments on commit 15be8e2

Please sign in to comment.