Skip to content

Commit

Permalink
Change blackhole stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
NikoCat233 committed Jan 2, 2025
1 parent d2e37bf commit ed79070
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions Modules/Utils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2418,6 +2418,7 @@ public static void AfterMeetingTasks()

RPC.SyncDeadPassedMeetingList();
DoorsReset.ResetDoors();
CustomNetObject.AfterMeetingTasks();

// Empty Deden bug support Empty vent after meeting
var ventilationSystem = ShipStatus.Instance.Systems.TryGetValue(SystemTypes.Ventilation, out var systemType) ? systemType.TryCast<VentilationSystem>() : null;
Expand Down
2 changes: 0 additions & 2 deletions Patches/ExilePatch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ class BaseExileControllerPatch
public static void Prefix()
{
CheckAndDoRandomSpawn();
CustomNetObject.AfterMeetingTasks();
}
public static void Postfix(ExileController __instance)
{
Expand All @@ -40,7 +39,6 @@ class AirshipExileControllerPatch
public static void Prefix()
{
CheckAndDoRandomSpawn();
CustomNetObject.AfterMeetingTasks();
}
public static void Postfix(AirshipExileController __instance)
{
Expand Down
2 changes: 1 addition & 1 deletion Roles/Impostor/AbyssBringer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public override void OnFixedUpdate(PlayerControl pc, bool lowLoad, long nowTime)
continue;
}

if (MeetingHud.Instance || Main.LastMeetingEnded + 5 > nowTime) continue;
if (MeetingHud.Instance || Main.LastMeetingEnded + 2 > nowTime) continue;

var nearestPlayer = Main.AllAlivePlayerControls.Where(x => x != pc).MinBy(x => Vector2.Distance(x.GetCustomPosition(), blackHole.Position));
if (nearestPlayer != null)
Expand Down

0 comments on commit ed79070

Please sign in to comment.