Skip to content

Remove Console.WriteLines #85

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions Code/CustomWindController.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using Celeste;
using Celeste.Mod;
using Celeste.Mod.Entities;
using Microsoft.Xna.Framework;
using Monocle;
Expand Down Expand Up @@ -223,7 +224,7 @@ public void ActivateWind(bool debug = false)
active = true;
if (debug && !string.IsNullOrEmpty(activateType))
{
Console.WriteLine("Custom wind doesn't have a activation case for: " + activateType);
Logger.Info("CrystallineHelper/CustomWindController", $"Custom wind doesn't have a activation case for: {activateType}");
}
if ((speedX.Count > 1 || speedY.Count > 1) && !alternateSpeed.Contains(0))
{
Expand Down Expand Up @@ -317,4 +318,4 @@ private IEnumerator WindRoutine()

private Coroutine coroutine;
}
}
}
5 changes: 3 additions & 2 deletions Code/EditDepthTrigger.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using Celeste;
using Celeste.Mod;
using Celeste.Mod.Entities;
using Microsoft.Xna.Framework;
using Monocle;
Expand Down Expand Up @@ -28,7 +29,7 @@ public override void Added(Scene scene)
HandleEntity(entity, fillCache: true);

if (debug && entity.CollideCheck(this)) {
Console.WriteLine(entity.GetType().FullName + ": " + entity.Depth);
Logger.Info("CrystallineHelper/EditDepthTrigger", $"{entity.GetType().FullName}: {entity.Depth}");
}
}
}
Expand Down Expand Up @@ -70,4 +71,4 @@ private void HandleEntity(Entity entity, bool fillCache) {
private bool debug;
private bool update;
}
}
}
4 changes: 2 additions & 2 deletions Code/FLCC/CustomPlayerHair.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public CustomPlayerHair(PlayerSprite sprite, Vector2 scale)

public void Start()
{
Vector2 value = base.Entity.Position + new Vector2((0 - Facing) * 200, 200f);
Vector2 value = base.Entity.Position + new Vector2(-(int)Facing * 200, 200f);
for (int i = 0; i < Nodes.Count; i++)
{
Nodes[i] = value;
Expand Down Expand Up @@ -160,4 +160,4 @@ public Color GetHairColor(int index)
return Color * Alpha;
}
}
}
}
Loading