Thread
:
How to create a copy of an object without reference?
View Single Post
02-23-13, 12:43 PM
#
3
ravagernl
Proceritate Corporis
Join Date: Feb 2006
Posts: 1,176
One thing you could also do if your options are not very complicated is make use of metatables:
http://www.lua.org/pil/13.4.3.html
Then when resetting, just loop over the options database table and set all keys to nil.
ravagernl
View Public Profile
Send a private message to ravagernl
Find More Posts by ravagernl