/traderous

To get this branch, use:
bzr branch http://9ix.org/bzr/traderous

« back to all changes in this revision

Viewing changes to zoetrope/core/globals.lua

  • Committer: Josh C
  • Date: 2013-06-25 19:55:40 UTC
  • Revision ID: josh@9ix.org-20130625195540-f4nwz7ffj9f6658a
patch zoetrope storage so it can save lists (arrays indexed by number)

Show diffs side-by-side

added added

removed removed

Lines of Context:
231
231
                                local dumpValue = dump(value, ignore)
232
232
 
233
233
                                if dumpValue ~= '' then
234
 
                                        result = result .. '["' .. key .. '"] = ' .. dumpValue .. ', '
 
234
           result = result .. '[' .. dump(key) .. '] = ' .. dumpValue .. ', '
235
235
                                end
236
236
 
237
237
                                if type(value) == 'table' then