Skip to content

Commit

Permalink
remove debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Govorunb committed Apr 14, 2024
1 parent 3b36ac9 commit 24d4fee
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions SCHIZO/Items/FumoItem/SneakyFumoSpawner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,25 +21,26 @@ private IEnumerator Start()

private IEnumerator NeuroFumoIs100mFromYourLocationAndRapidlyApproaching()
{
LOGGER.LogWarning("starting");
// Log("starting");
// player enters drop pod for the first time, no fumo is present
while (!StoryGoalHelpers.IsCompleted("OnEnterLifepod"))
yield return new WaitForSecondsRealtime(5);
LOGGER.LogWarning("entered");
// Log("entered");

// player leaves for a while
while (!StoryGoalHelpers.IsCompleted("OnExitLifepod"))
yield return new WaitForSecondsRealtime(5);
LOGGER.LogWarning("exited");
// Log("exited");

yield return new WaitForSeconds(minAwayTime); // probably completely useless
LOGGER.LogWarning("waited");
// Log("waited for time, waiting for distance");
while ((Player.main.transform.position - transform.position).magnitude < minAwayDistance)
yield return new WaitForSecondsRealtime(1);
LOGGER.LogWarning("away");
// Log("spawning");

yield return TheFumoAppears();
}
// private void Log(string msg) => LOGGER.LogDebug($"{name}: {msg}");

private IEnumerator GetPrefab()
{
Expand Down

0 comments on commit 24d4fee

Please sign in to comment.