Skip to content
Snippets Groups Projects
Commit 230c7c29 authored by dg's avatar dg
Browse files

plop

git-svn-id: http://svn.net-core.org/repos/t-engine4@1509 51575b47-30f0-44d4-a5cc-537603b46e54
parent b4e70a97
No related branches found
No related tags found
No related merge requests found
......@@ -65,7 +65,7 @@ function _M:init()
if #nodes > 0 then
local mod = m.versions[1]
table.insert(self.tree, {
name="#{bold}##GOLD#"..mod.name.."#WHITE##{normal}#",
name=tstring{{"font","bold"}, {"color","GOLD"}, mod.name, {"font","normal"}},
fct=function() end,
shown=true,
nodes=nodes,
......
......@@ -68,7 +68,7 @@ function _M:generateList()
for j, mod in ipairs(list[i].versions) do
if not self.all_versions and j > 1 then break end
if not mod.is_boot then
mod.name = "#{bold}##GOLD#"..mod.name.."#{normal}##WHITE#"
mod.name = tstring{{"font","bold"}, {"color","GOLD"}, mod.name, {"font","normal"}}
mod.fct = function(mod)
game:registerDialog(require('engine.dialogs.GetText').new("Enter your character's name", "Name", 2, 25, function(text)
Module:instanciate(mod, text, true)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment