m_config.lang. Doing the latter was lie, since this function gets
called as mkws.M much of the time, and so gets a randomly chosen
team's lang setting; and all teams always have the same lang setting
anyway, since there's no way to set it differently per team.
// different languages.
//
function M(word) {
// different languages.
//
function M(word) {
- var lang = m_config.lang;
+ var lang = mkws.config.lang;
if (!lang || !mkws.locale_lang[lang])
return word;
if (!lang || !mkws.locale_lang[lang])
return word;