mirror of
https://github.com/sr229/metastruct-experiments.git
synced 2024-09-20 06:30:36 +00:00
actual blunder
Signed-off-by: Ayane Satomi <ayane@vignetteapp.org>
This commit is contained in:
parent
c286f53000
commit
6981eed62a
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ hook.add("playerchat", "tts", function(ply, txt)
|
||||||
if string.sub(txt, 1, 1) == ":" then
|
if string.sub(txt, 1, 1) == ":" then
|
||||||
local l = string.gsub(txt, ":", "")
|
local l = string.gsub(txt, ":", "")
|
||||||
if #l > 1 then
|
if #l > 1 then
|
||||||
local lastLang = l
|
local lastLang = curLang
|
||||||
|
|
||||||
if has_value(VALID_LANGS, l) then
|
if has_value(VALID_LANGS, l) then
|
||||||
curLang = l
|
curLang = l
|
||||||
|
|
Loading…
Reference in a new issue