Skip to content

Commit

Permalink
Fix bad coloring in the English text
Browse files Browse the repository at this point in the history
  • Loading branch information
LeonardoTheMutant committed Oct 14, 2024
1 parent 5e76232 commit a86dab3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions SRC/LUA/CCMD.LUA
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,13 @@ COM_AddCommand("mmhelp", function(p, page)
return
end

CONS_Printf(p, "The text of the game manual is being rewritten and is currently unavaiable, sorry") --Prerelease/Debug
if (not MM.debug)
CONS_Printf(p, "The text of the game manual is being rewritten and is currently unavaiable, sorry") --Prerelease/Debug
return
end

--MMHELP GUI
--load HELP page
/*
if (tonumber(page))
if (MM.text[p.mmlang]["MMHELP"][tonumber(page)])
p.mmhelp.page = tonumber(page)
Expand All @@ -68,7 +70,6 @@ COM_AddCommand("mmhelp", function(p, page)

--enable the UI
p.mmhelp.active = true
*/
end, COM_LOCAL)

--MMLANG console command
Expand Down
2 changes: 1 addition & 1 deletion SRC/LUA/TEXT.LUA
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ MM.text={

--MMLANG command
["MMLANG"]={
"Your current language in use is\x82 English\x80\nYou can change it with \x87MMLANG [language] command",
"Your current language in use is\x82 English\x80\nYou can change it with \x87MMLANG [language]\x80 command",
"Personal language for Murder Mystery is set to\x82 English"
},
--GAME.LUA
Expand Down
2 changes: 1 addition & 1 deletion TEMPLATES/customlang.lua
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ local language={ --Language must be a table variable, you can name the variable

--MMLANG command
["MMLANG"]={
"Your current language in use is\x82 English\x80\nYou can change it with \x87MMLANG [language] command", --when typed MMHELP with no argument
"Your current language in use is\x82 English\x80\nYou can change it with \x87MMLANG [language]\x80 command", --when typed MMHELP with no argument
"Personal language for Murder Mystery is set to\x82 English" --when typed MMHELP with language argument (it sets the new language)
}

Expand Down

0 comments on commit a86dab3

Please sign in to comment.