/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-05-20 16:51:19 UTC
  • Revision ID: josh@9ix.org-20130520165119-mkjh7d9408e6ig0u
extract updating score.  update score again when you calc high score - 
should mitigate a bug I saw happen when thor played that put final score 
+ high score out of sync

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 .. '[' .. dump(key) .. '] = ' .. dumpValue .. ', '
 
234
                                        result = result .. '["' .. key .. '"] = ' .. dumpValue .. ', '
235
235
                                end
236
236
 
237
237
                                if type(value) == 'table' then