Skip to content

Commit d3543b7

Browse files
committed
removed unnecessary assignment
1 parent 12834a7 commit d3543b7

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

BotCommands.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
using UnityEngine;
55

66
namespace BotCMDs
7-
8-
// BUG: Sometimes has trouble reading the first line as a command, especially if there's no \n afterwards (the python bot adds this though)
97
{
108
[BepInDependency("com.bepis.r2api")]
119
[BepInPlugin("com.Rayss.BotCommands", "Bot Commands", "0.1.0")]
@@ -48,9 +46,6 @@ private void Update()
4846

4947
while ((line = reader.ReadLine()) != null)
5048
RoR2.Console.instance.SubmitCmd(null, line);
51-
52-
//update the last max offset
53-
lastMaxOffset = reader.BaseStream.Position;
5449
}
5550
}
5651
}

0 commit comments

Comments
 (0)