Skip to content
Snippets Groups Projects
Commit 4c284f11 authored by dg's avatar dg
Browse files

fix

git-svn-id: http://svn.net-core.org/repos/t-engine4@4841 51575b47-30f0-44d4-a5cc-537603b46e54
parent fe68c05d
No related branches found
No related tags found
No related merge requests found
...@@ -211,7 +211,7 @@ function _M:saveSettings() ...@@ -211,7 +211,7 @@ function _M:saveSettings()
for _, w in ipairs{"player", "resources", "party", "buffs", "minimap"} do for _, w in ipairs{"player", "resources", "party", "buffs", "minimap"} do
lines[#lines+1] = ("tome.uiset_minimalist.places.%s = {}"):format(w) lines[#lines+1] = ("tome.uiset_minimalist.places.%s = {}"):format(w)
if self.places[w] then for k, v in pairs(self.places[w]) do if self.places[w] then for k, v in pairs(self.places[w]) do
lines[#lines+1] = ("tome.uiset_minimalist.places.%s.%s = %d"):format(w, k, v) lines[#lines+1] = ("tome.uiset_minimalist.places.%s.%s = %f"):format(w, k, v)
end end end end
end end
game:saveSettings("tome.uiset_minimalist", table.concat(lines, "\n")) game:saveSettings("tome.uiset_minimalist", table.concat(lines, "\n"))
......
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