Skip to content

Commit 9a1793f

Browse files
authored
Merge pull request #87 from ApeMV/main
2.1s Chat cooldown
2 parents 9c49cec + 93a8e6e commit 9a1793f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/ChatPatches.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@ public static void Postfix(ChatController __instance)
3636
__instance.freeChatField.textArea.characterLimit = int.MaxValue;
3737
}
3838

39+
// Set chat cooldown to 2.1s opposed to orginal 3s
40+
if (__instance.timeSinceLastMessage < 0.9f)
41+
{
42+
__instance.timeSinceLastMessage = 0.9f;
43+
}
44+
3945
else if (AUnlocker.PatchChat.Value)
4046
{
4147
//__instance.freeChatField.textArea.AllowPaste = true;

0 commit comments

Comments
 (0)