Also don't log empty string MidPrints to console.

This commit is contained in:
Mari the Deer 2025-01-15 13:48:46 +01:00
commit 507126b7b1
2 changed files with 4 additions and 4 deletions

View file

@ -1,3 +1,3 @@
[default]
SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r1164 \cu(Wed Jan 15 13:44:56 CET 2025)\c-";
SWWM_SHORTVER="\cw1.3pre r1164 \cu(2025-01-15 13:44:56)\c-";
SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r1165 \cu(Wed Jan 15 13:48:46 CET 2025)\c-";
SWWM_SHORTVER="\cw1.3pre r1165 \cu(2025-01-15 13:48:46)\c-";

View file

@ -205,7 +205,7 @@ extend Class SWWMStatusBar
// don't forget to log to console, like gzdoom itself does
// (also, account for potential unterminated color escapes)
// PS: avoid duplicate message spam, too
if ( msg == lastmidstr ) return true;
if ( (msg == lastmidstr) || (msg == "") ) return true;
Console.PrintfEx(PRINT_HIGH|PRINT_NONOTIFY,
"----------------------------------------\n"
.."%s\c-\n"
@ -221,7 +221,7 @@ extend Class SWWMStatusBar
// don't forget to log to console, like gzdoom itself does
// (also, account for potential unterminated color escapes)
// PS: avoid duplicate message spam, too
if ( msg == lastmidstr ) return true;
if ( (msg == lastmidstr) || (msg == "") ) return true;
Console.PrintfEx(PRINT_HIGH|PRINT_NONOTIFY,
"----------------------------------------\n"
.."%s\c-\n"