From f2db3a0539ce34e63d05d311e7299f3a31ff32aa Mon Sep 17 00:00:00 2001 From: JohnCorby Date: Sat, 29 Jul 2023 17:05:55 -0700 Subject: [PATCH] add the bruh method back --- QSB/Utility/VariableSync/BaseVariableSyncer.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/QSB/Utility/VariableSync/BaseVariableSyncer.cs b/QSB/Utility/VariableSync/BaseVariableSyncer.cs index 27291a1b..0508931f 100644 --- a/QSB/Utility/VariableSync/BaseVariableSyncer.cs +++ b/QSB/Utility/VariableSync/BaseVariableSyncer.cs @@ -12,6 +12,8 @@ public abstract class BaseVariableSyncer : QSBNetworkBehaviour [NonSerialized] public T Value; + // DO NOT REMOVE THIS METHOD + public bool Bruh() => HasChanged(); protected override bool HasChanged() => !EqualityComparer.Default.Equals(PrevValue, Value); protected override void UpdatePrevData() => PrevValue = Value; protected override void Serialize(NetworkWriter writer) => writer.Write(Value);