Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- when you save a table in a variable, then not the values of the table get saved, only the reference to the table, meaning one write will affect the other when they have the same reference
- -- example
- inner = {1,2,3}
- t = {inner,inner}
- t[1][2] = 123
- print(t[2][2]) -- prints 123
- --[[
- most likely your
- NPCPreviewTable[1][2]
- is the same table as
- NPCPreviewTable[2][2]
- --]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement