mirror of
https://github.com/TheJordanDev/PEAK-JordanMod.git
synced 2026-10-17 08:05:25 +02:00
0.1.12 | Added: Open Passport keybind
Also removes a leftover debug keybind on the BingBong module that was bound to P and would have fired alongside the new passport keybind.
This commit is contained in:
@@ -27,17 +27,6 @@ class ReplaceBingBongModule : Module
|
||||
AudioSyncWorker.OnAudioLoadComplete += OnAudioLoadComplete;
|
||||
}
|
||||
|
||||
public override void Update()
|
||||
{
|
||||
base.Update();
|
||||
if (Input.GetKeyDown(KeyCode.P))
|
||||
{
|
||||
Helper.FindItemByName("BingBong_Prop Variant", out Item? item);
|
||||
if (item == null) return;
|
||||
Debug.Log($"Found item: {item.name} in scene {item.gameObject.scene.name}");
|
||||
}
|
||||
}
|
||||
|
||||
private static void OnAudioLoadComplete()
|
||||
{
|
||||
if (!HasReplacedSounds) return;
|
||||
|
||||
Reference in New Issue
Block a user