fix debug hud

This commit is contained in:
Ivan Filipenkov 2023-08-17 22:19:45 +03:00
parent cbdabf794f
commit 12d44ff9f1

View file

@ -30,7 +30,7 @@ namespace DangerousD.GameCore.GUI
spriteBatch.Begin();
spriteBatch.DrawString(
_spriteFont,
Join(",", _text.Select(el => el.Key + ": " + el.Value).ToList()),
Join("\n", _text.Select(el => el.Key + ": " + el.Value).ToList()),
new Vector2(10, 10),
Color.Cyan,
0,