Quantcast
WoWInterface - View Single Post - Add table to list
View Single Post
02-21-21, 07:29 PM   #5
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 1,391
Originally Posted by Walkerbo View Post
Heya Fizzlemizz

Each time I try to write the table to my list it is only saving an empty table.
Tables are passed as pointers to the table not copies of the table so when you
Code:
wipe(tempSpellChatList)
you are actually wiping the table you inserted at
Code:
table.insert(addClassSpellList, 1, tempSpellChatList)
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.

Last edited by Fizzlemizz : 02-21-21 at 07:31 PM.
  Reply With Quote