adjusted debug mode

This commit is contained in:
2025-04-27 14:15:14 +02:00
parent 2cd6a757dc
commit abf948a310
4 changed files with 4 additions and 8 deletions

View File

@@ -3,13 +3,10 @@ using Godot;
public partial class PerfDetails : Label
{
[Export]
public bool ShowDetails = true;
public override void _Process(double delta)
{
Text = "";
if (!ShowDetails) return;
if (!Main.Instance.DebugMode) return;
int activeElements = 0;
foreach (Chunk c in Main.Instance.Level.GetChunks())