summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcheapie <no-email-for-you@example.com>2016-05-17 22:40:51 -0500
committercheapie <no-email-for-you@example.com>2016-05-17 22:40:51 -0500
commit7b642c0d12d68a80cad860ef12054a36984fd99c (patch)
tree2ee6dc010b21cded58d48a4afd67601084bbcd84
parent726e84c2c51c1f8a9e0db98ce13f2cd3d30d5c74 (diff)
downloadnewplayer-7b642c0d12d68a80cad860ef12054a36984fd99c.tar
newplayer-7b642c0d12d68a80cad860ef12054a36984fd99c.tar.gz
newplayer-7b642c0d12d68a80cad860ef12054a36984fd99c.tar.bz2
newplayer-7b642c0d12d68a80cad860ef12054a36984fd99c.tar.xz
newplayer-7b642c0d12d68a80cad860ef12054a36984fd99c.zip
Fix more messed-up escape sequences
-rw-r--r--init.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/init.lua b/init.lua
index 83168a9..8f0fe23 100644
--- a/init.lua
+++ b/init.lua
@@ -36,7 +36,7 @@ function newplayer.showrulesform(name)
if minetest.check_player_privs(name,{server=true}) then
form_interact = form_interact.."button_exit[1,9;2,1;quit;OK]"
form_interact = form_interact.."button[5,9;2,1;edit;Edit]"
- form_interact = form_interact.."field[0.25,8;8,1;keyword;Keyword\:;"..(newplayer.keyword or "").."]"
+ form_interact = form_interact.."field[0.25,8;8,1;keyword;Keyword:;"..(newplayer.keyword or "").."]"
else
form_interact = form_interact.."button_exit[3,9;2,1;quit;OK]"
end
@@ -142,7 +142,7 @@ minetest.register_on_player_receive_fields(function(player,formname,fields)
"textarea[0.25,1;8,7;rules;;"..newplayer.rules.."]"..
"button_exit[1,9;2,1;save;Save]"..
"button_exit[5,9;2,1;quit;Cancel]"..
- "field[0.25,8;8,1;keyword;Keyword\:;"..(newplayer.keyword or "").."]"
+ "field[0.25,8;8,1;keyword;Keyword:;"..(newplayer.keyword or "").."]"
minetest.show_formspec(name,"newplayer:editrules",form)
end
elseif formname == "newplayer:agreethanks" or formname == "newplayer:disagreewarning" then
@@ -169,7 +169,7 @@ minetest.register_chatcommand("editrules",{
"textarea[0.25,1;8,7;rules;;"..newplayer.rules.."]"..
"button_exit[1,9;2,1;save;Save]"..
"button_exit[5,9;2,1;quit;Cancel]"..
- "field[0.25,8;8,1;keyword;Keyword\:;"..(newplayer.keyword or "").."]"
+ "field[0.25,8;8,1;keyword;Keyword:;"..(newplayer.keyword or "").."]"
minetest.show_formspec(name,"newplayer:editrules",form)
return true
end}