I made a derp.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2121 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
uporotiy
2011-09-05 03:26:48 +00:00
parent ef5b78a7c4
commit 85c563f00d
+1 -1
View File
@@ -268,7 +268,7 @@ proc/isobserver(A)
p = 1//1 is the start of any word
while(p <= n)//while P, which starts at 1 is less or equal to N which is the length.
var/n_letter = copytext(te, p, p + 1)//copies text from a certain distance. In this case, only one letter at a time.
if (prob(80) && !(n_letter in list("a","e","i","o","u","A","E","I","O","U")))
if (prob(80) && (ckey(n_letter) in list("b","c","d","f","g","h","j","k","l","m","n","p","q","r","s","t","v","w","x","y","z")))
if (prob(10))
n_letter = text("[n_letter]-[n_letter]-[n_letter]-[n_letter]")//replaces the current letter with this instead.
else