Creates random element extension (#196)
This commit is contained in:
parent
0926b5abaa
commit
4403d6c1c7
84 changed files with 226 additions and 330 deletions
|
|
@ -4798,7 +4798,7 @@ namespace Server
|
|||
var sb = new StringBuilder(text.Length, text.Length);
|
||||
|
||||
for (var i = 0; i < text.Length; ++i)
|
||||
sb.Append(text[i] != ' ' ? GhostChars[Utility.Random(GhostChars.Length)] : ' ');
|
||||
sb.Append(text[i] != ' ' ? GhostChars.RandomElement() : ' ');
|
||||
|
||||
text = sb.ToString();
|
||||
context = m_GhostMutateContext;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue