2.10.13: mods draw with the dynamic font (no font warning flood), mod time in PerfStats, PERF report every 5 min in game, redesigned announcement cards in the MSCO menu
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+4
-1
@@ -34,7 +34,10 @@ namespace MSCO
|
||||
frames++;
|
||||
frameSeconds += dt;
|
||||
if (dt > worstFrame) worstFrame = dt;
|
||||
if (autoLog && Time.realtimeSinceStartup - started >= 30f)
|
||||
// Mit -msco-perf alle 30 s, sonst im Spiel alle 5 Minuten ein Bericht in MSCO_Loader.txt - so lässt sich bei
|
||||
// "wenig FPS" nachsehen, ob MSCO, eine Mod oder das Spiel selbst die Zeit braucht
|
||||
float every = autoLog ? 30f : 300f;
|
||||
if ((autoLog || MenuHelper.InGame) && Time.realtimeSinceStartup - started >= every)
|
||||
{
|
||||
Bootstrap.Log(Report());
|
||||
Reset();
|
||||
|
||||
Reference in New Issue
Block a user