Use better code
This commit is contained in:
parent
608e7a99bc
commit
75c8a8ced4
32 changed files with 77 additions and 105 deletions
|
|
@ -85,7 +85,7 @@ public class ReduceConsoleSpam : Module
|
|||
{
|
||||
var mprogress = e.Value.Substring(0, master + 1/*%*/);
|
||||
var sprogress = e.Value.Substring(sub + FindSub.Length);
|
||||
if (mprogress.EndsWith("%") && sprogress.EndsWith("%"))
|
||||
if (mprogress.EndsWith('%') && sprogress.EndsWith('%'))
|
||||
{
|
||||
var text = e.Value.Substring(master + FindMaster.Length, sub - master - FindMaster.Length).Trim();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue