View Single Post
04-19-15, 09:36 AM   #1
Yukyuk
A Chromatic Dragonspawn
 
Yukyuk's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2015
Posts: 179
The order of saved variables

Working on my first addon so am quite new a this.
I am using AceBd to set up my database and that seems to work ok.
But my problem is the order of the of fields in my tables as you can see in the example.

Anybody know how I can solve this?


Lua Code:
  1. ["char"] = {
  2.         ["Yukyuk - Moonglade"] = {
  3.             ["data_char_start_historia"] = 1429372016,
  4.             ["data_char_entering"] = 9,
  5.             ["data_char_leaving"] = 9,
  6.         },
  7.         ["Valadrasil - Moonglade"] = {
  8.             ["data_char_leaving"] = 1,
  9.             ["data_char_entering"] = 1,
  10.             ["data_char_start_historia"] = 1429453141,
  11.         },
  12.     },
  Reply With Quote