This repository has been archived by the owner on Jan 27, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hotfix to fix cutscenes not acknowledging custom host delays
- Loading branch information
1 parent
1763e0c
commit c4b4e8f
Showing
6 changed files
with
43 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
using Hacknet; | ||
|
||
using Pathfinder.Action; | ||
using Pathfinder.Util; | ||
|
||
using Stuxnet_HN.Cutscenes.Patches; | ||
|
||
namespace Stuxnet_HN.Cutscenes.Actions | ||
{ | ||
public class StopCutscene : PathfinderAction | ||
{ | ||
public override void Trigger(object os_obj) | ||
{ | ||
if (StuxnetCore.activeCutsceneID == "NONE") return; | ||
|
||
StuxnetCutsceneInstruction resetInst = StuxnetCutsceneInstruction.CreateResetInstruction(); | ||
resetInst.Cutscene = CutsceneExecutor.ActiveCutscene; | ||
PathfinderAction resetAction = new TriggerInstruction(resetInst); | ||
resetAction.Trigger(os_obj); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters