Skip to content

Commit

Permalink
teehee
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnCorby committed Nov 4, 2024
1 parent d63846c commit 066bf44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions OWJam4ModProject/AdminArtifact.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ public static void AttachToPlayerLantern()

private void Update()
{
particles.SetActive(Locator.GetDreamWorldController().IsInDream());

if (!OWJam4ModProject.DEBUG) return;

if (!Keyboard.current[Key.LeftCtrl].isPressed) return;
Expand All @@ -41,8 +43,6 @@ private void Update()
if (Keyboard.current[Key.Digit5].wasPressedThisFrame) WarpToSpawnPoint("Spawn_DreamZone_2_LighthouseUpstairs");
if (Keyboard.current[Key.Digit6].wasPressedThisFrame) WarpToSpawnPoint("Spawn_Underground_CodeTotems");
if (Keyboard.current[Key.Digit7].wasPressedThisFrame) WarpToSpawnPoint("AdminZoneSpawnPoint");

particles.SetActive(Locator.GetDreamWorldController().IsInDream());
}

private void Awake()
Expand Down

0 comments on commit 066bf44

Please sign in to comment.