Commit f2ece8a1 authored by mercury233's avatar mercury233

change chat prefix

parent ce17fe58
......@@ -117,7 +117,7 @@ for name, declaration of structs_declaration
return
for line in _.lines(msg)
if player>=10
line="[System]: "+line
line="[Server]: "+line
for o,r of i18ns[client.lang]
re=new RegExp("\\$\\{"+o+"\\}",'g')
line=line.replace(re,r)
......
......@@ -181,7 +181,7 @@
for (j = 0, len1 = ref.length; j < len1; j++) {
line = ref[j];
if (player >= 10) {
line = "[System]: " + line;
line = "[Server]: " + line;
}
ref1 = i18ns[client.lang];
for (o in ref1) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment