diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2019-05-09 23:03:45 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2019-09-13 15:44:57 -0400 |
commit | e3a2c56a6d8c827240a2bd4ead86c7b412e826ab (patch) | |
tree | 55369552c1859f93002d0a223ce7a5c0272ef565 /src/SMAPI/Framework | |
parent | 602c8d75db0a0648c9fc4eb518094015fe9712ab (diff) | |
download | SMAPI-e3a2c56a6d8c827240a2bd4ead86c7b412e826ab.tar.gz SMAPI-e3a2c56a6d8c827240a2bd4ead86c7b412e826ab.tar.bz2 SMAPI-e3a2c56a6d8c827240a2bd4ead86c7b412e826ab.zip |
fix 'location list changed' verbose log not correctly listing changes
Diffstat (limited to 'src/SMAPI/Framework')
-rw-r--r-- | src/SMAPI/Framework/SGame.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SMAPI/Framework/SGame.cs b/src/SMAPI/Framework/SGame.cs index 9818314a..704eb6bc 100644 --- a/src/SMAPI/Framework/SGame.cs +++ b/src/SMAPI/Framework/SGame.cs @@ -705,8 +705,8 @@ namespace StardewModdingAPI.Framework if (this.Monitor.IsVerbose) { - string addedText = this.Watchers.LocationsWatcher.Added.Any() ? string.Join(", ", added.Select(p => p.Name)) : "none"; - string removedText = this.Watchers.LocationsWatcher.Removed.Any() ? string.Join(", ", removed.Select(p => p.Name)) : "none"; + string addedText = added.Any() ? string.Join(", ", added.Select(p => p.Name)) : "none"; + string removedText = removed.Any() ? string.Join(", ", removed.Select(p => p.Name)) : "none"; this.Monitor.Log($"Context: location list changed (added {addedText}; removed {removedText}).", LogLevel.Trace); } |