Skip to content

Commit 30494a1

Browse files
committed
changed to 20ms
1 parent e222a8b commit 30494a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

BotCommands.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public class BotCommands : BaseUnityPlugin
1515
private string botcmd_path;
1616

1717
[System.Diagnostics.CodeAnalysis.SuppressMessage("Code Quality", "IDE0051:Remove unused private members")]
18-
private void Awake()
18+
public void Awake()
1919
{
2020
Cmdpath = Config.Bind<string>(
2121
"Config",
@@ -36,7 +36,7 @@ private void Update()
3636
//start at the end of the file
3737
long lastMaxOffset = reader.BaseStream.Length;
3838

39-
System.Threading.Thread.Sleep(4);
39+
System.Threading.Thread.Sleep(20);
4040

4141
//seek to the last max offset
4242
reader.BaseStream.Seek(lastMaxOffset, SeekOrigin.Begin);

0 commit comments

Comments
 (0)