summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/Framework/LogParsing/LogParser.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2022-11-09 20:03:41 -0500
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2022-11-09 20:03:41 -0500
commitbeb0b0aaf4e349cf911504a72b484d5642f6ac58 (patch)
tree79ad1792d32c52699ca5593712f50ca1b167d99f /src/SMAPI.Web/Framework/LogParsing/LogParser.cs
parent9ae69245b30f5cc6b52f1159a6e151079b699a10 (diff)
downloadSMAPI-beb0b0aaf4e349cf911504a72b484d5642f6ac58.tar.gz
SMAPI-beb0b0aaf4e349cf911504a72b484d5642f6ac58.tar.bz2
SMAPI-beb0b0aaf4e349cf911504a72b484d5642f6ac58.zip
fix & improve split-screen column in log parser
Diffstat (limited to 'src/SMAPI.Web/Framework/LogParsing/LogParser.cs')
-rw-r--r--src/SMAPI.Web/Framework/LogParsing/LogParser.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/SMAPI.Web/Framework/LogParsing/LogParser.cs b/src/SMAPI.Web/Framework/LogParsing/LogParser.cs
index 5e0dedf3..c39e612b 100644
--- a/src/SMAPI.Web/Framework/LogParsing/LogParser.cs
+++ b/src/SMAPI.Web/Framework/LogParsing/LogParser.cs
@@ -108,6 +108,10 @@ namespace StardewModdingAPI.Web.Framework.LogParsing
}
}
+ // detect split-screen mode
+ if (message.ScreenId != 0)
+ log.IsSplitScreen = true;
+
// collect SMAPI metadata
if (message.Mod == "SMAPI")
{