Skip to content

Instantly share code, notes, and snippets.

@Kriknav
Kriknav / ShowUnchanged-True.patch
Created February 9, 2019 21:38
SmartHunter ShowUnchanged patch
diff --git a/SmartHunter/Game/Data/Monster.cs b/SmartHunter/Game/Data/Monster.cs
index a52830e..178e318 100644
--- a/SmartHunter/Game/Data/Monster.cs
+++ b/SmartHunter/Game/Data/Monster.cs
@@ -245,19 +245,26 @@ namespace SmartHunter.Game.Data
static bool CanShow(DateTimeOffset initialTime, DateTimeOffset? lastChangedTime, bool showUnchanged, float hideAfterSeconds)
{
- if (!showUnchanged && lastChangedTime == null)
+ // Special cases that don't require any time calculations: