Skip to content

Commit

Permalink
some fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
AlchlcDvl committed Nov 1, 2023
1 parent deef201 commit 7166f2a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 1 addition & 2 deletions TownOfUsReworked/BetterMaps/BetterAirship.cs
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,7 @@ public static bool Prefix(HeliSabotageSystem __instance, ref MessageReader msgRe

if ((HeliSabotageSystem.Tags)(msgReader.ReadByte() & 240) == HeliSabotageSystem.Tags.DamageBit)
{
__instance.Countdown = CustomGameOptions.CrashTimer;
HeliSabotageSystem.CharlesDuration = CustomGameOptions.CrashTimer;
__instance.Countdown = HeliSabotageSystem.CharlesDuration = CustomGameOptions.CrashTimer;
__instance.CompletedConsoles.Clear();
__instance.ActiveConsoles.Clear();
__instance.codeResetTimer = -1f;
Expand Down
5 changes: 5 additions & 0 deletions TownOfUsReworked/Classes/Utils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -884,6 +884,11 @@ public static void SetFullScreenHUD()
fs = reactor.IsActive;
break;

case 5:
var reactor2 = ShipStatus.Instance.Systems[SystemTypes.Reactor].Cast<HeliSabotageSystem>();
fs = reactor2.IsActive;
break;

case 6:
if (!SubLoaded)
break;
Expand Down

0 comments on commit 7166f2a

Please sign in to comment.