adjusted debug mode
This commit is contained in:
@@ -34,6 +34,7 @@ public class Element {
|
||||
Chunk = chunk;
|
||||
lastMove = Engine.GetFramesDrawn();
|
||||
Active = false;
|
||||
wasMovedThisTick = true;
|
||||
}
|
||||
|
||||
public bool Active {
|
||||
@@ -44,7 +45,6 @@ public class Element {
|
||||
active = value;
|
||||
Chunk.SetElementActive(this, value);
|
||||
Moved();
|
||||
// SetDebugColor(value, new Color(0.2f, 0.2f, 0.2f));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -109,7 +109,7 @@ public class Element {
|
||||
}
|
||||
|
||||
public void SetDebugColor(Color color) {
|
||||
if (!Main.Instance.DebugVisualization) return;
|
||||
if (!Main.Instance.DebugMode) return;
|
||||
|
||||
this.color = color;
|
||||
wasMovedThisTick = true;
|
||||
|
||||
Reference in New Issue
Block a user